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
This commit is contained in:
Linus Nielsen Feltzing 2006-08-15 23:02:12 +00:00
parent c4a59a290b
commit 400ab9f8ee

View file

@ -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)