Commit 7a1522a2 authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: Use LC_NUMERIC instead of LC_ALL to determine the user locale.

Passing LC_ALL to setlocale() doesn't do what we want.
parent 4811743b
......@@ -2592,7 +2592,7 @@ void LOCALE_Init(void)
#endif
setlocale( LC_ALL, "" );
lcid = get_env_lcid( NULL, LC_ALL );
lcid = get_env_lcid( NULL, LC_NUMERIC );
NtSetDefaultLocale( TRUE, lcid );
lcid = get_env_lcid( NULL, LC_MESSAGES );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment