Fix global variable casting

This commit is contained in:
2024-09-24 20:33:59 +08:00
parent ee08c57515
commit ae2fb42e87
9 changed files with 94 additions and 55 deletions

View File

@@ -371,7 +371,7 @@ int r3_main(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR *cmdline,
strcpy(acStack_300, getDefaultConfig().gfxAdapter.c_str());
strcpy(acStack_100, getDefaultConfig().gfxIdentifier.c_str());
strcpy(acStack_200, getDefaultConfig().gfxGliMode.c_str());
/* If they're all set */
if (((acStack_300[0] != '\0') && (acStack_100[0] != '\0')) &&
(acStack_200[0] != '\0')) {