diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2006-08-25 15:20:10 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-08-25 15:20:10 +0000 |
| commit | 53d26e5bbfc7b6dde51a9ca76ff576f5e9141291 (patch) | |
| tree | 5a8491494cc701faaa09eef499d35d422c5bc8cd | |
| parent | 565d46b354f19e307a8c3e5eb1d2aa6d5522be41 (diff) | |
| download | rockbox-53d26e5bbfc7b6dde51a9ca76ff576f5e9141291.zip rockbox-53d26e5bbfc7b6dde51a9ca76ff576f5e9141291.tar.gz rockbox-53d26e5bbfc7b6dde51a9ca76ff576f5e9141291.tar.bz2 rockbox-53d26e5bbfc7b6dde51a9ca76ff576f5e9141291.tar.xz | |
Use uniqbuf for unique tags only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10748 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/tagcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 195de2f..aac4841 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -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++) |