Fix use of LOCALE_NOUSEROVERRIDE flag in GetNumberFormatA and

GetCurrencyFormatA.
This commit is contained in:
Paul Millar 2002-06-13 19:22:17 +00:00 committed by Alexandre Julliard
parent 741325b86a
commit 449bb92bc0

View file

@ -3089,9 +3089,9 @@ INT WINAPI GetNumberFormatA(LCID locale, DWORD dwflags,
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 @@ INT WINAPI GetCurrencyFormatA(LCID locale, DWORD dwflags,
else
{
if (dwflags & LOCALE_NOUSEROVERRIDE)
used_operation = USE_LOCALEINFO;
else
used_operation = USE_SYSTEMDEFAULT;
else
used_operation = USE_LOCALEINFO;
}
/* Load the fields we need */