[OLE #86] Fix BSTR tracing in the typelib marshaller

Mike Hearn mike at navi.cx
Fri Mar 25 14:48:20 CST 2005


Fix BSTR tracing in the typelib marshaller

Index: dlls/oleaut32/tmarshal.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/tmarshal.c,v
retrieving revision 1.45
diff -u -p -d -r1.45 tmarshal.c
--- dlls/oleaut32/tmarshal.c	25 Mar 2005 16:38:37 -0000	1.45
+++ dlls/oleaut32/tmarshal.c	25 Mar 2005 20:34:52 -0000
@@ -555,8 +555,8 @@ serialize_param(
     
     case VT_BSTR: {
 	if (debugout) {
-	    if (arg)
-		    TRACE_(olerelay)("%s",relaystr((BSTR)*arg));
+	    if (*arg)
+                   TRACE_(olerelay)("%s",relaystr((WCHAR*)*arg));
 	    else
 		    TRACE_(olerelay)("<bstr NULL>");
 	}



More information about the wine-patches mailing list