variant patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmm. Can't harm Gav's plans if I submit a couple of oleaut32 bugfixes.

Log:
Ove Kaaven <ovek@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;
 	  }
 	}




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux