LC_NUMERIC C (#7413)

This commit is contained in:
Philip Dubé
2026-10-18 14:40:33 +00:00
committed by GitHub
parent ce6edf821d
commit d657862aad
+2
View File
@@ -54,6 +54,8 @@ int SDL_main(int argc, char* argv[]) {
#endif
// Allow non-ascii characters for Windows
setlocale(LC_ALL, ".UTF8");
// Keep '.' as the decimal point, user locale may use ','
setlocale(LC_NUMERIC, "C");
#else //_WIN32
int main(int argc, char* argv[]) {