summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
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,
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 {