mGUI: Fix non-portable function call
Vicki Pfau vi@endrift.com
Tue, 04 Sep 2018 00:11:23 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/feature/gui/gui-config.c
→
src/feature/gui/gui-config.c
@@ -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)) {