From 400ab9f8ee95046465bd2a334b0a0fec6dbcaa03 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 15 Aug 2006 23:02:12 +0000 Subject: Fixed my stupid mistake when I tried to restore the tree_exit behaviour git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10598 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) break; } /* if we are in /, nothing to do */ - if (tc.dirlevel != 0 || strcmp(currdir,"/")) + if (tc.dirlevel == 0 && !strcmp(currdir,"/")) break; if (id3db) -- cgit v1.2.3