msxml3: Fix VARIANT_from_xmlChar implementation.

This commit is contained in:
Piotr Caban 2009-12-06 01:07:57 +01:00 committed by Alexandre Julliard
parent 060934c557
commit 9ede36aa2b
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}