oleaut32: Fix VectorFromBstr call in VARIANT_CoerceArray.

This commit is contained in:
Roman Dadkov 2012-08-23 18:36:46 +04:00 committed by Alexandre Julliard
parent 1278843643
commit 79ba36aef8
1 changed files with 1 additions and 1 deletions

View File

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