mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-26 22:06:06 +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
|
// Sanitize chosen gxApi against list of supported gxApis
|
||||||
for (size_t i = 0; i < g_numGxApiSupported; i++) {
|
for (size_t i = 0; i < g_numGxApiSupported; i++) {
|
||||||
EGxApi supportedApi = g_gxApiSupported[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;
|
api = supportedApi;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user