1
0
Fork 0
forked from len0rd/rockbox

Ignore volume ID

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1096 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-06-19 17:31:35 +00:00
parent 866600216e
commit 702dd052ae

View file

@ -1010,6 +1010,10 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry)
else {
if ( parse_direntry(entry, &dir->cached_buf[i*32]) ) {
/* don't return volume id entry */
if ( entry->attr == FAT_ATTR_VOLUME_ID )
continue;
/* replace shortname with longname? */
if ( longs ) {
int j,k,l=0;
@ -1115,3 +1119,9 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry)
}
return 0;
}
/* -----------------------------------------------------------------
* local variables:
* eval: (load-file "../rockbox-mode.el")
* end:
*/