oleaut32: varformat - Force LCID_US for conversion in VarFormatNumber.

oldstable
Alex Villacís Lasso 2006-11-06 17:04:16 -05:00 committed by Alexandre Julliard
parent 723abff804
commit 68817c10ee
1 changed files with 1 additions and 1 deletions

View File

@ -2199,7 +2199,7 @@ HRESULT WINAPI VarFormatNumber(LPVARIANT pVarIn, INT nDigits, INT nLeading, INT
hRet = VariantCopyInd(&vStr, pVarIn);
if (SUCCEEDED(hRet))
hRet = VariantChangeTypeEx(&vStr, &vStr, LOCALE_USER_DEFAULT, 0, VT_BSTR);
hRet = VariantChangeTypeEx(&vStr, &vStr, LCID_US, 0, VT_BSTR);
if (SUCCEEDED(hRet))
{