Properly scan tagcache fast against dircache.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9431 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-04-02 16:31:15 +00:00
parent 795eff69c1
commit c95d9d0835

View file

@ -173,7 +173,7 @@ static struct index_entry *find_entry_ram(const char *filename,
else else
i = 0; 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) if (hdr->indices[i].tag_seek[tag_filename] == (long)dc)
{ {