Skip to content
Snippets Groups Projects
Commit a18fc8a7 authored by Lawson Whitney's avatar Lawson Whitney Committed by Alexandre Julliard
Browse files

Take type from referenced variant for VT_BYREF && VT_VARIANT.

parent 05f0b71b
No related branches found
No related tags found
No related merge requests found
......@@ -1905,6 +1905,9 @@ HRESULT WINAPI VariantCopyInd(VARIANT* pvargDest, VARIANTARG* pvargSrc)
/* Dereference the inner variant.
*/
res = VariantCopyInd( pvargDest, pvargSrc->u.pvarVal );
/* We must also copy its type, I think.
*/
pvargSrc->vt = pvargSrc->u.pvarVal->vt;
}
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment