Piotr Caban : msxml3: Fix VARIANT_from_xmlChar implementation.
Alexandre Julliard
julliard at winehq.org
Mon Dec 7 10:26:14 CST 2009
Module: wine
Branch: master
Commit: 9ede36aa2bbd84caebcecb20277b7b3041d2b192
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9ede36aa2bbd84caebcecb20277b7b3041d2b192
Author: Piotr Caban <piotr at codeweavers.com>
Date: Sun Dec 6 01:07:57 2009 +0100
msxml3: Fix VARIANT_from_xmlChar implementation.
---
dlls/msxml3/node.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index ed6c8c6..82f4c56 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -1118,7 +1118,8 @@ static inline HRESULT VARIANT_from_xmlChar(xmlChar *str, VARIANT *v, BSTR type)
if(!V_BSTR(&src))
return E_OUTOFMEMORY;
- hres = VariantChangeType(v, &src, 0, V_VT(v));
+ hres = VariantChangeTypeEx(v, &src, MAKELCID(MAKELANGID(
+ LANG_ENGLISH,SUBLANG_ENGLISH_US),SORT_DEFAULT),0, V_VT(v));
VariantClear(&src);
return hres;
}
More information about the wine-cvs
mailing list