mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 23:28:04 -04:00
Update menu.c
This commit is contained in:
parent
80244dfe6b
commit
45e44c2aab
1 changed files with 0 additions and 9 deletions
9
menu.c
9
menu.c
|
@ -961,15 +961,6 @@ static int scandir_filter(const struct dirent *ent)
|
||||||
return 1;
|
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 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue