mirror of
https://github.com/reactos/wine.git
synced 2025-01-22 03:49:02 +00:00
msxml3: Fix VARIANT_from_xmlChar implementation.
This commit is contained in:
parent
060934c557
commit
9ede36aa2b
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user