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:
parent
a387805071
commit
96ff4b3d68
3 changed files with 6 additions and 3 deletions
|
|
@ -218,7 +218,8 @@ int ft_load(struct tree_context* c, const char* tempdir)
|
|||
(((len == 1) &&
|
||||
(!strncmp(entry->d_name, ".", 1))) ||
|
||||
((len == 2) &&
|
||||
(!strncmp(entry->d_name, "..", 2))))) {
|
||||
(!strncmp(entry->d_name, "..", 2))) ||
|
||||
c->hidedirs)) {
|
||||
i--;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue