1
0
Fork 0
forked from len0rd/rockbox

Don't show dirs when browsing WPS files, .cfg files, fonts, languages and firmwares

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7337 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonas Häggqvist 2005-08-17 09:40:07 +00:00
parent a387805071
commit 96ff4b3d68
3 changed files with 6 additions and 3 deletions

View file

@ -1447,7 +1447,7 @@ bool create_playlist(void)
return true;
}
bool rockbox_browse(const char *root, int dirfilter)
bool rockbox_browse(const char *root, int dirfilter, bool hidedirs)
{
static struct tree_context backup;
@ -1456,6 +1456,7 @@ bool rockbox_browse(const char *root, int dirfilter)
memcpy(tc.currdir, root, sizeof(tc.currdir));
start_wps = false;
tc.dirfilter = &dirfilter;
tc.hidedirs = hidedirs;
dirbrowse();