summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-11-11 18:36:07 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2022-11-11 18:36:07 -0500
commitdd1fbd51fc7bb3fa7237b3bc34335e99bef29e35 (patch)
tree9eb19f4d10502a8a6a5fb6c553f0074645c7ae31
parent06f046515865519d01464f7ba08259cbaba441bf (diff)
downloadrockbox-dd1fbd51fc7bb3fa7237b3bc34335e99bef29e35.tar.gz
rockbox-dd1fbd51fc7bb3fa7237b3bc34335e99bef29e35.zip
TagTree Show file name for tag_title [UNTAGGED] BugFix
limit result to tags that only show <UNTAGGED> Change-Id: I56ff4ea8c5a17df806d69d58599a9a88f8acc4b0
-rw-r--r--apps/tagtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 5d6c3cf8f1..633ad7ecbc 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -1578,8 +1578,8 @@ static int retrieve_entries(struct tree_context *c, int offset, bool init)
1578 1578
1579 if (strcmp(tcs.result, UNTAGGED) == 0) 1579 if (strcmp(tcs.result, UNTAGGED) == 0)
1580 { 1580 {
1581 if (tag == tag_title) /* Fallback to filename */ 1581 if (tag == tag_title && tcs.type == tag_title && tcs.filter_count <= 1)
1582 { 1582 { /* Fallback to filename */
1583 char *lastname = dptr->name; 1583 char *lastname = dptr->name;
1584 dptr->name = core_get_data(c->cache.name_buffer_handle)+namebufused; 1584 dptr->name = core_get_data(c->cache.name_buffer_handle)+namebufused;
1585 if (tagcache_retrieve(&tcs, tcs.idx_id, tag_filename, dptr->name, 1585 if (tagcache_retrieve(&tcs, tcs.idx_id, tag_filename, dptr->name,