Bruno Jesus : oleaut32: Fix copy & paste issue in VarFormatNumber.
Module: wine Branch: master Commit: ec05998be893611af111b420c09fe3cd7d1e1a1f URL: http://source.winehq.org/git/wine.git/?a=commit;h=ec05998be893611af111b420c0... Author: Bruno Jesus <00cpxxx(a)gmail.com> Date: Thu Jan 15 12:36:27 2015 -0200 oleaut32: Fix copy & paste issue in VarFormatNumber. --- dlls/oleaut32/varformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,
participants (1)
-
Alexandre Julliard