Commit 9ede36aa authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msxml3: Fix VARIANT_from_xmlChar implementation.

parent 060934c5
......@@ -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;
}
......
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