kernel32: Use LC_NUMERIC instead of LC_ALL to determine the user locale.
Passing LC_ALL to setlocale() doesn't do what we want.
This commit is contained in:
parent
4811743b36
commit
7a1522a20f
@ -2592,7 +2592,7 @@ void LOCALE_Init(void)
|
|||||||
#endif
|
#endif
|
||||||
setlocale( LC_ALL, "" );
|
setlocale( LC_ALL, "" );
|
||||||
|
|
||||||
lcid = get_env_lcid( NULL, LC_ALL );
|
lcid = get_env_lcid( NULL, LC_NUMERIC );
|
||||||
NtSetDefaultLocale( TRUE, lcid );
|
NtSetDefaultLocale( TRUE, lcid );
|
||||||
|
|
||||||
lcid = get_env_lcid( NULL, LC_MESSAGES );
|
lcid = get_env_lcid( NULL, LC_MESSAGES );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user