Commit 449bb92b authored by Paul Millar's avatar Paul Millar Committed by Alexandre Julliard

Fix use of LOCALE_NOUSEROVERRIDE flag in GetNumberFormatA and

GetCurrencyFormatA.
parent 741325b8
...@@ -3089,9 +3089,9 @@ INT WINAPI GetNumberFormatA(LCID locale, DWORD dwflags, ...@@ -3089,9 +3089,9 @@ INT WINAPI GetNumberFormatA(LCID locale, DWORD dwflags,
else else
{ {
if (dwflags & LOCALE_NOUSEROVERRIDE) if (dwflags & LOCALE_NOUSEROVERRIDE)
used_operation = USE_LOCALEINFO;
else
used_operation = USE_SYSTEMDEFAULT; used_operation = USE_SYSTEMDEFAULT;
else
used_operation = USE_LOCALEINFO;
} }
/* Load the fields we need */ /* Load the fields we need */
...@@ -3329,9 +3329,9 @@ INT WINAPI GetCurrencyFormatA(LCID locale, DWORD dwflags, ...@@ -3329,9 +3329,9 @@ INT WINAPI GetCurrencyFormatA(LCID locale, DWORD dwflags,
else else
{ {
if (dwflags & LOCALE_NOUSEROVERRIDE) if (dwflags & LOCALE_NOUSEROVERRIDE)
used_operation = USE_LOCALEINFO;
else
used_operation = USE_SYSTEMDEFAULT; used_operation = USE_SYSTEMDEFAULT;
else
used_operation = USE_LOCALEINFO;
} }
/* Load the fields we need */ /* Load the fields we need */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment