Commit d457956c authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

oleaut32: Dont filter out VT_RECORD|VT_REF type in VariantCopyInd.

parent 9b2968dc
...@@ -872,7 +872,7 @@ HRESULT WINAPI VariantCopyInd(VARIANT* pvargDest, VARIANTARG* pvargSrc) ...@@ -872,7 +872,7 @@ HRESULT WINAPI VariantCopyInd(VARIANT* pvargDest, VARIANTARG* pvargSrc)
/* Argument checking is more lax than VariantCopy()... */ /* Argument checking is more lax than VariantCopy()... */
vt = V_TYPE(pvargSrc); vt = V_TYPE(pvargSrc);
if (V_ISARRAY(pvargSrc) || if (V_ISARRAY(pvargSrc) || (V_VT(pvargSrc) == (VT_RECORD|VT_BYREF)) ||
(vt > VT_NULL && vt != (VARTYPE)15 && vt < VT_VOID && (vt > VT_NULL && vt != (VARTYPE)15 && vt < VT_VOID &&
!(V_VT(pvargSrc) & (VT_VECTOR|VT_RESERVED)))) !(V_VT(pvargSrc) & (VT_VECTOR|VT_RESERVED))))
{ {
......
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