diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/apps/tree.c b/apps/tree.c index b19ffaadee..c7a6c012b7 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -766,14 +766,10 @@ static bool dirbrowse(void) | |||
766 | else { | 766 | else { |
767 | if (id3db) | 767 | if (id3db) |
768 | { | 768 | { |
769 | switch (tc.currtable) | 769 | if (tagtree_get_attr(&tc) == TREE_ATTR_MPA) |
770 | { | 770 | { |
771 | case navibrowse: | 771 | attr = TREE_ATTR_MPA; |
772 | if (tc.currextra != tag_title) | 772 | tagtree_get_filename(&tc, buf, sizeof(buf)); |
773 | break; | ||
774 | attr=TREE_ATTR_MPA; | ||
775 | tagtree_get_filename(&tc, buf, sizeof(buf)); | ||
776 | break; | ||
777 | } | 773 | } |
778 | } | 774 | } |
779 | else | 775 | else |