From 7859f381ce4e91aa262d9503b55323186758980d Mon Sep 17 00:00:00 2001 From: superp00t Date: Sun, 10 Dec 2023 22:35:51 -0500 Subject: [PATCH] fix(console): gxApi string comparison should be case-insensitive --- src/console/Device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console/Device.cpp b/src/console/Device.cpp index 4c4fb64..cc86413 100644 --- a/src/console/Device.cpp +++ b/src/console/Device.cpp @@ -291,7 +291,7 @@ void ConsoleDeviceInitialize(const char* title) { // Sanitize chosen gxApi against list of supported gxApis for (size_t i = 0; i < g_numGxApiSupported; i++) { EGxApi supportedApi = g_gxApiSupported[i]; - if (SStrCmp(gxApiName, g_gxApiNames[supportedApi], STORM_MAX_STR) == 0) { + if (SStrCmpI(gxApiName, g_gxApiNames[supportedApi], STORM_MAX_STR) == 0) { api = supportedApi; break; }