mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 14:37:46 -04:00
commit
10c564f806
1 changed files with 1 additions and 10 deletions
11
menu.c
11
menu.c
|
@ -961,16 +961,7 @@ static int scandir_filter(const struct dirent *ent)
|
|||
return 1;
|
||||
}
|
||||
|
||||
ext = strrchr(ent->d_name, '.');
|
||||
if (ext == NULL)
|
||||
return 0;
|
||||
|
||||
ext++;
|
||||
for (i = 0; filter[i] != NULL; i++)
|
||||
if (strcasecmp(ext, filter[i]) == 0)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int dirent_seek_char(struct dirent **namelist, int len, int sel, char c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue