summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-08-15 23:02:12 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-08-15 23:02:12 +0000
commit400ab9f8ee95046465bd2a334b0a0fec6dbcaa03 (patch)
tree6a25fbf14f00bf3b67eb5cc8d40a088b4d6f6719 /apps
parentc4a59a290b81cae137f8b3c2b709c9c565701eb9 (diff)
downloadrockbox-400ab9f8ee95046465bd2a334b0a0fec6dbcaa03.zip
rockbox-400ab9f8ee95046465bd2a334b0a0fec6dbcaa03.tar.gz
rockbox-400ab9f8ee95046465bd2a334b0a0fec6dbcaa03.tar.bz2
rockbox-400ab9f8ee95046465bd2a334b0a0fec6dbcaa03.tar.xz
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
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 75562b3..1e3a833 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)