From 53d26e5bbfc7b6dde51a9ca76ff576f5e9141291 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Fri, 25 Aug 2006 15:20:10 +0000 Subject: [PATCH] Use uniqbuf for unique tags only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10748 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tagcache.c b/apps/tagcache.c index 195de2f467..aac4841d93 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++)