diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2006-08-14 15:35:23 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-08-14 15:35:23 +0000 |
| commit | 0c5ec36c7afd327a718a5847d631c28fd7c264b0 (patch) | |
| tree | f2b6807a8f27f6ae30fd0d81c21f1d94dfb93fc9 /apps | |
| parent | 979dd7ad0f9bb133787f13e03df14750adf86c73 (diff) | |
| download | rockbox-0c5ec36c7afd327a718a5847d631c28fd7c264b0.zip rockbox-0c5ec36c7afd327a718a5847d631c28fd7c264b0.tar.gz rockbox-0c5ec36c7afd327a718a5847d631c28fd7c264b0.tar.bz2 rockbox-0c5ec36c7afd327a718a5847d631c28fd7c264b0.tar.xz | |
Fixed a problem when using filename tag as a search clause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10571 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -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 08d6894..179218a 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 |