forked from len0rd/rockbox
Bjorn (Fisher)'s patch to skip the FAT volume ID being shown.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2194 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
99a8a40990
commit
91e2694d7c
1 changed files with 6 additions and 0 deletions
|
|
@ -224,6 +224,12 @@ static int showdir(char *path, int start)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Skip FAT volume ID */
|
||||||
|
if (entry->attribute & ATTR_VOLUME_ID) {
|
||||||
|
i--;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
/* Skip dotfiles if set to skip them */
|
/* Skip dotfiles if set to skip them */
|
||||||
if (!global_settings.show_hidden_files &&
|
if (!global_settings.show_hidden_files &&
|
||||||
((entry->d_name[0]=='.') ||
|
((entry->d_name[0]=='.') ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue