Fixing regression test problems with non en_US locales

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Does what the Subject: says.

 ChangeLog:
    Fix use of LOCALE_NOUSEROVERRIDE flag in GetNumberFormatA and 
    GetCurrencyFormatA

----
Paul Millar
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 */

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux