PATCH: VarAdd

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

 



Hi,

Ciao, Marcus

Changelog:
	VarAdd: set 'rc' correctly from BSTR addition.

Index: dlls/oleaut32/variant.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/variant.c,v
retrieving revision 1.57
diff -u -r1.57 variant.c
--- dlls/oleaut32/variant.c	28 Jan 2003 00:23:19 -0000	1.57
+++ dlls/oleaut32/variant.c	1 Mar 2003 22:05:51 -0000
@@ -2692,7 +2692,7 @@
 	double dValue = 0.0;
 	LPSTR pNewString = NULL;
 
-	TRACE("( %p, 0x%08lx, 0x%08lx, %p ), stub\n", strIn, lcid, dwFlags, psOut );
+	TRACE("( %s, 0x%08lx, 0x%08lx, %p ), stub\n", debugstr_w(strIn), lcid, dwFlags, psOut );
 
 	/* Check if we have a valid argument
 	 */
@@ -5345,7 +5345,7 @@
     if ((V_VT(left)&VT_TYPEMASK) == VT_BSTR &&
         (V_VT(right)&VT_TYPEMASK) == VT_BSTR) {
         V_VT(result) = VT_BSTR;
-        VarBstrCat(V_BSTR(left), V_BSTR(right), &V_BSTR(result));
+        rc = VarBstrCat(V_BSTR(left), V_BSTR(right), &V_BSTR(result));
     } else {
 
         /* Integers */


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

  Powered by Linux