summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 75562b30c8..1e3a833d51 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -619,7 +619,7 @@ static bool dirbrowse(void)
619 break; 619 break;
620 } 620 }
621 /* if we are in /, nothing to do */ 621 /* if we are in /, nothing to do */
622 if (tc.dirlevel != 0 || strcmp(currdir,"/")) 622 if (tc.dirlevel == 0 && !strcmp(currdir,"/"))
623 break; 623 break;
624 624
625 if (id3db) 625 if (id3db)