diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/apps/tree.c b/apps/tree.c index 34d5d0b1bb..8de23bd1f5 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -615,20 +615,18 @@ static bool dirbrowse(void) | |||
615 | exit_func = true; | 615 | exit_func = true; |
616 | break; | 616 | break; |
617 | } | 617 | } |
618 | /* if we are in /, stop playback | 618 | /* if we are in /, nothing to do */ |
619 | (skip this and fall into tree_stop)*/ | ||
620 | if (tc.dirlevel != 0 || strcmp(currdir,"/")) | 619 | if (tc.dirlevel != 0 || strcmp(currdir,"/")) |
621 | { | ||
622 | if (id3db) | ||
623 | tagtree_exit(&tc); | ||
624 | else | ||
625 | if (ft_exit(&tc) == 3) | ||
626 | exit_func = true; | ||
627 | |||
628 | restore = true; | ||
629 | break; | 620 | break; |
630 | } | 621 | |
631 | /* else fall through */ | 622 | if (id3db) |
623 | tagtree_exit(&tc); | ||
624 | else | ||
625 | if (ft_exit(&tc) == 3) | ||
626 | exit_func = true; | ||
627 | |||
628 | restore = true; | ||
629 | break; | ||
632 | 630 | ||
633 | case ACTION_TREE_STOP: | 631 | case ACTION_TREE_STOP: |
634 | if (*tc.dirfilter < NUM_FILTER_MODES) | 632 | if (*tc.dirfilter < NUM_FILTER_MODES) |