From d657862aad769081cf93c871def89323ff5d6d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= <159546+serprex@users.noreply.github.com> Date: Sun, 18 Oct 2026 14:40:33 +0000 Subject: [PATCH] LC_NUMERIC C (#7413) --- soh/src/code/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/soh/src/code/main.c b/soh/src/code/main.c index 98c632665b..4e68d5da15 100644 --- a/soh/src/code/main.c +++ b/soh/src/code/main.c @@ -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[]) {