variant patch
Ove Kaaven
ovehk at ping.uio.no
Wed Jan 2 11:11:23 CST 2002
Hmm. Can't harm Gav's plans if I submit a couple of oleaut32 bugfixes.
Log:
Ove Kaaven <ovek at transgaming.com>
Fixed a looks-like-nobody-ever-tested-this-function kind of bug in
VariantCopyInd.
Index: dlls/oleaut32/variant.c
===================================================================
RCS file: /cvsroot/winex/wine/dlls/oleaut32/variant.c,v
retrieving revision 1.1.1.10
retrieving revision 1.4
diff -u -r1.1.1.10 -r1.4
--- dlls/oleaut32/variant.c 2001/12/31 10:47:43 1.1.1.10
+++ dlls/oleaut32/variant.c 2001/12/31 15:12:15 1.4
@@ -1946,7 +1946,7 @@
* 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;
}
}
More information about the wine-patches
mailing list