diff options
-rw-r--r-- | apps/tagcache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 08d6894e57..179218ab1f 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -678,7 +678,10 @@ static bool build_lookup_list(struct tagcache_search *tcs) { if (tcs->clause[j]->tag == tag_filename) { + int oldtype = tcs->type; + tcs->type = tag_filename; tagcache_retrieve(tcs, i, buf, sizeof buf); + tcs->type = oldtype; str = buf; } else |