Alex Villacís Lasso : oleaut32: varformat - Force LCID_US for conversion in VarFormatNumber.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 8 14:12:12 CST 2006


Module: wine
Branch: master
Commit: 68817c10eec0de98be00e043322ab9857b40818a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=68817c10eec0de98be00e043322ab9857b40818a

Author: Alex Villacís Lasso <a_villacis at palosanto.com>
Date:   Mon Nov  6 17:04:16 2006 -0500

oleaut32: varformat - Force LCID_US for conversion in VarFormatNumber.

---

 dlls/oleaut32/varformat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/varformat.c b/dlls/oleaut32/varformat.c
index f8ccfd3..095cc6c 100644
--- a/dlls/oleaut32/varformat.c
+++ b/dlls/oleaut32/varformat.c
@@ -2199,7 +2199,7 @@ HRESULT WINAPI VarFormatNumber(LPVARIANT
   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))
   {




More information about the wine-cvs mailing list