summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/apps/tree.c b/apps/tree.c
index b19ffaa..c7a6c01 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -766,14 +766,10 @@ static bool dirbrowse(void)
else {
if (id3db)
{
- switch (tc.currtable)
+ if (tagtree_get_attr(&tc) == TREE_ATTR_MPA)
{
- case navibrowse:
- if (tc.currextra != tag_title)
- break;
- attr=TREE_ATTR_MPA;
- tagtree_get_filename(&tc, buf, sizeof(buf));
- break;
+ attr = TREE_ATTR_MPA;
+ tagtree_get_filename(&tc, buf, sizeof(buf));
}
}
else