diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-04-02 16:31:15 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-04-02 16:31:15 +0000 |
commit | c95d9d08350450ce6b16e345d3eff67c758ce6af (patch) | |
tree | a4d9dbd342a6b22ad24291c7298abc094a938c4a | |
parent | 795eff69c1a9c4d428918a78c8d7e2bfe9da6439 (diff) | |
download | rockbox-c95d9d08350450ce6b16e345d3eff67c758ce6af.tar.gz rockbox-c95d9d08350450ce6b16e345d3eff67c758ce6af.zip |
Properly scan tagcache fast against dircache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9431 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 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, | |||
173 | else | 173 | else |
174 | i = 0; | 174 | i = 0; |
175 | 175 | ||
176 | for (; i < hdr->h.entry_count - last_pos; i++) | 176 | for (; i < hdr->h.entry_count; i++) |
177 | { | 177 | { |
178 | if (hdr->indices[i].tag_seek[tag_filename] == (long)dc) | 178 | if (hdr->indices[i].tag_seek[tag_filename] == (long)dc) |
179 | { | 179 | { |