Module: wine Branch: master Commit: cf0c21af47571559a0cb8f368cff98b99aa91156 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf0c21af47571559a0cb8f368c...
Author: Alex Villacís Lasso a_villacis@palosanto.com Date: Tue Nov 21 17:07:10 2006 -0500
kernel32: Restore C locale for LC_NUMERIC.
---
dlls/kernel32/locale.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c index 3eb8cf9..bc7db75 100644 --- a/dlls/kernel32/locale.c +++ b/dlls/kernel32/locale.c @@ -2866,6 +2866,8 @@ void LOCALE_Init(void) TRACE( "ansi=%03d oem=%03d mac=%03d unix=%03d\n", ansi_cptable->info.codepage, oem_cptable->info.codepage, mac_cptable->info.codepage, unix_cp ); + + setlocale(LC_NUMERIC, "C"); /* FIXME: oleaut32 depends on this */ }
static HANDLE NLS_RegOpenKey(HANDLE hRootKey, LPCWSTR szKeyName)