Piotr Caban : Revert "kernel32: Restore C locale for LC_CTYPE category.".

Alexandre Julliard julliard at winehq.org
Wed Mar 27 17:27:37 CDT 2019


Module: wine
Branch: master
Commit: f09f6865384a4ef0c6c4f590de7c45562cb54381
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f09f6865384a4ef0c6c4f590de7c45562cb54381

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Wed Mar 27 14:08:36 2019 +0100

Revert "kernel32: Restore C locale for LC_CTYPE category.".

This reverts commit c8e195e1797bd513c91927743b3ed38fdfa86c2f.

There's still lots of code that works incorrectly in tr_TR.UTF-8 locale
but I think it's good to revert this patch before next release.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/locale.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c
index 00006d4..fe2129b 100644
--- a/dlls/kernel32/locale.c
+++ b/dlls/kernel32/locale.c
@@ -4226,7 +4226,6 @@ void LOCALE_Init(void)
            mac_cptable->info.codepage, unix_cp );
 
     setlocale(LC_NUMERIC, "C");  /* FIXME: oleaut32 depends on this */
-    setlocale(LC_CTYPE, "C"); /* Fixes issues when tr_TR.UTF-8 locale is used */
 }
 
 static HANDLE NLS_RegOpenKey(HANDLE hRootKey, LPCWSTR szKeyName)




More information about the wine-cvs mailing list