Francois Gouget : Add '\n's to Wine traces.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 20 08:00:38 CDT 2006


Module: wine
Branch: master
Commit: 1f67fa0acff38f1da1433ccb798d759fc4b758ab
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1f67fa0acff38f1da1433ccb798d759fc4b758ab

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Oct 18 21:21:57 2006 +0200

Add '\n's to Wine traces.

---

 dlls/dinput/joystick_linuxinput.c |    2 +-
 dlls/oleaut32/tmarshal.c          |   14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c
index 04ec9d3..85d1fdf 100644
--- a/dlls/dinput/joystick_linuxinput.c
+++ b/dlls/dinput/joystick_linuxinput.c
@@ -1770,7 +1770,7 @@ static HRESULT WINAPI JoystickAImpl_Enum
 	return DIERR_INVALIDPARAM;
 
     if (dwFlags != 0)
-	FIXME("Flags specified, but no flags exist yet (DX9)!");
+	FIXME("Flags specified, but no flags exist yet (DX9)!\n");
 
     while (itr) {
 	(*lpCallback)(itr->ref, pvRef);
diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c
index 872f7fd..ac4d407 100644
--- a/dlls/oleaut32/tmarshal.c
+++ b/dlls/oleaut32/tmarshal.c
@@ -539,7 +539,7 @@ serialize_param(
     case VT_UI8:
     case VT_CY:
 	hres = S_OK;
-	if (debugout) TRACE_(olerelay)("%x%x",arg[0],arg[1]);
+	if (debugout) TRACE_(olerelay)("%x%x\n",arg[0],arg[1]);
 	if (writeit)
 	    hres = xbuf_add(buf,(LPBYTE)arg,8);
 	return hres;
@@ -551,27 +551,27 @@ serialize_param(
     case VT_R4:
     case VT_UI4:
 	hres = S_OK;
-	if (debugout) TRACE_(olerelay)("%x",*arg);
+	if (debugout) TRACE_(olerelay)("%x\n",*arg);
 	if (writeit)
 	    hres = xbuf_add(buf,(LPBYTE)arg,sizeof(DWORD));
 	return hres;
     case VT_I2:
     case VT_UI2:
 	hres = S_OK;
-	if (debugout) TRACE_(olerelay)("%04x",*arg & 0xffff);
+	if (debugout) TRACE_(olerelay)("%04x\n",*arg & 0xffff);
 	if (writeit)
 	    hres = xbuf_add(buf,(LPBYTE)arg,sizeof(DWORD));
 	return hres;
     case VT_I1:
     case VT_UI1:
 	hres = S_OK;
-	if (debugout) TRACE_(olerelay)("%02x",*arg & 0xff);
+	if (debugout) TRACE_(olerelay)("%02x\n",*arg & 0xff);
 	if (writeit)
 	    hres = xbuf_add(buf,(LPBYTE)arg,sizeof(DWORD));
 	return hres;
     case VT_I4|VT_BYREF:
 	hres = S_OK;
-	if (debugout) TRACE_(olerelay)("&0x%x",*arg);
+	if (debugout) TRACE_(olerelay)("&0x%x\n",*arg);
 	if (writeit)
 	    hres = xbuf_add(buf,(LPBYTE)(DWORD*)*arg,sizeof(DWORD));
 	/* do not dealloc at this time */
@@ -841,10 +841,10 @@ deserialize_param(
     while (1) {
 	switch (tdesc->vt) {
 	case VT_EMPTY:
-	    if (debugout) TRACE_(olerelay)("<empty>");
+	    if (debugout) TRACE_(olerelay)("<empty>\n");
 	    return S_OK;
 	case VT_NULL:
-	    if (debugout) TRACE_(olerelay)("<null>");
+	    if (debugout) TRACE_(olerelay)("<null>\n");
 	    return S_OK;
 	case VT_VARIANT: {
 	    VARIANT	*vt = (VARIANT*)arg;




More information about the wine-cvs mailing list