From 449bb92bc0192cf56aed65af4abfa7459468b48b Mon Sep 17 00:00:00 2001 From: Paul Millar Date: Thu, 13 Jun 2002 19:22:17 +0000 Subject: [PATCH] Fix use of LOCALE_NOUSEROVERRIDE flag in GetNumberFormatA and GetCurrencyFormatA. --- ole/ole2nls.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ole/ole2nls.c b/ole/ole2nls.c index c63aa42e57d..af15c0cffa7 100644 --- a/ole/ole2nls.c +++ b/ole/ole2nls.c @@ -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 */ -- 2.11.4.GIT