Fixing regression test problems with non en_US locales

Paul Millar paulm at astro.gla.ac.uk
Wed Jun 12 18:34:53 CDT 2002


Does what the Subject: says.

 ChangeLog:
    Fix use of LOCALE_NOUSEROVERRIDE flag in GetNumberFormatA and 
    GetCurrencyFormatA

----
Paul Millar
-------------- next part --------------
Index: ole/ole2nls.c
===================================================================
RCS file: /home/wine/wine/ole/ole2nls.c,v
retrieving revision 1.101
diff -u -r1.101 ole2nls.c
--- ole/ole2nls.c	31 May 2002 23:06:53 -0000	1.101
+++ ole/ole2nls.c	12 Jun 2002 23:29:52 -0000
@@ -3089,9 +3089,9 @@
     else
     {
         if (dwflags & LOCALE_NOUSEROVERRIDE)
-            used_operation = USE_LOCALEINFO;
-        else
             used_operation = USE_SYSTEMDEFAULT;
+        else
+            used_operation = USE_LOCALEINFO;
     }
 
     /* Load the fields we need */
@@ -3329,9 +3329,9 @@
     else
     {
         if (dwflags & LOCALE_NOUSEROVERRIDE)
-            used_operation = USE_LOCALEINFO;
-        else
             used_operation = USE_SYSTEMDEFAULT;
+        else
+            used_operation = USE_LOCALEINFO;
     }
 
     /* Load the fields we need */


More information about the wine-patches mailing list