diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-08-15 23:02:12 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-08-15 23:02:12 +0000 |
commit | 400ab9f8ee95046465bd2a334b0a0fec6dbcaa03 (patch) | |
tree | 6a25fbf14f00bf3b67eb5cc8d40a088b4d6f6719 | |
parent | c4a59a290b81cae137f8b3c2b709c9c565701eb9 (diff) | |
download | rockbox-400ab9f8ee95046465bd2a334b0a0fec6dbcaa03.tar.gz rockbox-400ab9f8ee95046465bd2a334b0a0fec6dbcaa03.zip |
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
-rw-r--r-- | apps/tree.c | 2 |
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) |