Fixed a looks-like-nobody-ever-tested-this-function kind of bug in

VariantCopyInd.
This commit is contained in:
Ove Kaaven 2002-01-02 21:44:30 +00:00 committed by Alexandre Julliard
parent d553a9b000
commit a0da66945f

View File

@ -1946,7 +1946,7 @@ HRESULT WINAPI VariantCopyInd(VARIANT* pvargDest, VARIANTARG* pvargSrc)
* We will copy this data into the union of the destination
* Variant.
*/
memcpy( &pvargDest->n1.n2, V_UNION(pvargSrc,byref), SizeOfVariantData( pvargSrc ) );
memcpy( &pvargDest->n1.n2.n3, V_UNION(pvargSrc,byref), SizeOfVariantData( pvargSrc ) );
break;
}
}