mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
fix(console): gxApi string comparison should be case-insensitive
This commit is contained in:
parent
30679155be
commit
7859f381ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue