summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-04-02 16:31:15 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-04-02 16:31:15 +0000
commitc95d9d08350450ce6b16e345d3eff67c758ce6af (patch)
treea4d9dbd342a6b22ad24291c7298abc094a938c4a /apps/tagcache.c
parent795eff69c1a9c4d428918a78c8d7e2bfe9da6439 (diff)
Properly scan tagcache fast against dircache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9431 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c2
1 files changed, 1 insertions, 1 deletions
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)
{