summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-05-20 15:57:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-05-20 15:57:57 +0300
commitaf4c6d82d1e4dfa9aa60aeabed408486a3979a3e (patch)
tree753da979b8c9ac1c63c330eb8883b5b5b89360d3 /src/mir_app
parent5d0121f526c8dde41fb87c15a1e2556c8bcb62ba (diff)
fix for C++ runtime locale settings
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/miranda.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_app/src/miranda.cpp b/src/mir_app/src/miranda.cpp
index 38909e4202..0cd0a4c5b5 100644
--- a/src/mir_app/src/miranda.cpp
+++ b/src/mir_app/src/miranda.cpp
@@ -304,6 +304,7 @@ int WINAPI mir_main(LPTSTR cmdLine)
CmdLine_Parse(cmdLine);
setlocale(LC_ALL, "");
+ setlocale(LC_NUMERIC, "C");
#ifdef _DEBUG
if (CmdLine_GetOption(L"memdebug"))