Commit 68817c10 authored by Alex Villacís Lasso's avatar Alex Villacís Lasso Committed by Alexandre Julliard

oleaut32: varformat - Force LCID_US for conversion in VarFormatNumber.

parent 723abff8
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment