Commit 79ba36ae authored by Roman Dadkov's avatar Roman Dadkov Committed by Alexandre Julliard

oleaut32: Fix VectorFromBstr call in VARIANT_CoerceArray.

parent 12788436
......@@ -526,7 +526,7 @@ static inline HRESULT VARIANT_CoerceArray(VARIANTARG* pd, VARIANTARG* ps, VARTYP
return BstrFromVector(V_ARRAY(ps), &V_BSTR(pd));
if (V_VT(ps) == VT_BSTR && vt == (VT_ARRAY|VT_UI1))
return VectorFromBstr(V_BSTR(ps), &V_ARRAY(ps));
return VectorFromBstr(V_BSTR(ps), &V_ARRAY(pd));
if (V_VT(ps) == vt)
return SafeArrayCopy(V_ARRAY(ps), &V_ARRAY(pd));
......
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