mGUI: Fix non-portable function call

This commit is contained in:
Vicki Pfau 2018-09-04 00:11:23 -07:00
parent 353176b1e1
commit 33692c5923
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ static bool _biosNamed(const char* name) {
char ext[PATH_MAX + 1] = {};
separatePath(name, NULL, NULL, ext);
if (strnstr(name, "bios", PATH_MAX)) {
if (strstr(name, "bios")) {
return true;
}
if (!strncmp(ext, "bin", PATH_MAX)) {