From 21cfb15f99f86b36c8f8a4d2c152f8179dfa8aee Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 8 May 2023 00:41:58 -0700 Subject: [PATCH] mGUI: Make "bios" name check case-insensitive --- src/feature/gui/gui-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/gui/gui-config.c b/src/feature/gui/gui-config.c index 8ab4dd7dc..4a6c79871 100644 --- a/src/feature/gui/gui-config.c +++ b/src/feature/gui/gui-config.c @@ -31,7 +31,7 @@ static bool _biosNamed(const char* name) { char ext[PATH_MAX + 1] = {}; separatePath(name, NULL, NULL, ext); - if (strstr(name, "bios")) { + if (strcasestr(name, "bios")) { return true; } if (!strncmp(ext, "bin", PATH_MAX)) {