1
0
Fork 0
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:
Robert Hak 2002-09-06 04:59:23 +00:00
parent 99a8a40990
commit 91e2694d7c

View file

@ -224,6 +224,12 @@ static int showdir(char *path, int start)
continue;
}
/* Skip FAT volume ID */
if (entry->attribute & ATTR_VOLUME_ID) {
i--;
continue;
}
/* Skip dotfiles if set to skip them */
if (!global_settings.show_hidden_files &&
((entry->d_name[0]=='.') ||