From c95d9d08350450ce6b16e345d3eff67c758ce6af Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sun, 2 Apr 2006 16:31:15 +0000 Subject: Properly scan tagcache fast against dircache. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9431 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 bc463ab142..3745d07049 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -173,7 +173,7 @@ static struct index_entry *find_entry_ram(const char *filename, else i = 0; - for (; i < hdr->h.entry_count - last_pos; i++) + for (; i < hdr->h.entry_count; i++) { if (hdr->indices[i].tag_seek[tag_filename] == (long)dc) { -- cgit v1.2.3