Use uniqbuf for unique tags only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10748 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
565d46b354
commit
53d26e5bbf
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ static bool add_uniqbuf(struct tagcache_search *tcs, long id)
|
|||
int i;
|
||||
|
||||
/* If uniq buffer is not defined we must return true for search to work. */
|
||||
if (tcs->unique_list == NULL)
|
||||
if (tcs->unique_list == NULL || !tagcache_is_unique_tag(tcs->type))
|
||||
return true;
|
||||
|
||||
for (i = 0; i < tcs->unique_list_count; i++)
|
||||
|
|
Loading…
Reference in a new issue