mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 19:12:44 +03:00
fix(console): gxApi string comparison should be case-insensitive
This commit is contained in:
parent
30679155be
commit
7859f381ce
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user