oleaut32: Fix copy & paste issue in VarFormatNumber
Bruno Jesus
00cpxxx at gmail.com
Thu Jan 15 08:36:27 CST 2015
Fixes https://bugs.winehq.org/show_bug.cgi?id=37874
-------------- next part --------------
diff --git a/dlls/oleaut32/varformat.c b/dlls/oleaut32/varformat.c
index 0e1c370..ec52a1e 100644
--- a/dlls/oleaut32/varformat.c
+++ b/dlls/oleaut32/varformat.c
@@ -2326,7 +2326,7 @@ HRESULT WINAPI VarFormatNumber(LPVARIANT pVarIn, INT nDigits, INT nLeading, INT
GetLocaleInfoW(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, decimal,
sizeof(decimal)/sizeof(WCHAR));
numfmt.lpThousandSep = thousands;
- GetLocaleInfoW(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, thousands,
+ GetLocaleInfoW(LOCALE_USER_DEFAULT, LOCALE_STHOUSAND, thousands,
sizeof(thousands)/sizeof(WCHAR));
if (GetNumberFormatW(LOCALE_USER_DEFAULT, 0, V_BSTR(&vStr), &numfmt,
More information about the wine-patches
mailing list