Add '\n's to Wine traces.
Francois Gouget
fgouget at free.fr
Wed Oct 18 14:21:57 CDT 2006
---
dlls/dinput/joystick_linuxinput.c | 2 +-
dlls/oleaut32/tmarshal.c | 14 +++++++-------
dlls/user/painting.c | 6 +++---
3 files changed, 11 insertions(+), 11 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;
diff --git a/dlls/user/painting.c b/dlls/user/painting.c
index dbc8cfe..48ac335 100644
--- a/dlls/user/painting.c
+++ b/dlls/user/painting.c
@@ -582,12 +582,12 @@ BOOL WINAPI RedrawWindow( HWND hwnd, con
{
RECT r;
GetRgnBox( hrgn, &r );
- TRACE( "%p region %p box %s ", hwnd, hrgn, wine_dbgstr_rect(&r) );
+ TRACE( "%p region %p box %s\n", hwnd, hrgn, wine_dbgstr_rect(&r) );
}
else if (rect)
- TRACE( "%p rect %s ", hwnd, wine_dbgstr_rect(rect) );
+ TRACE( "%p rect %s\n", hwnd, wine_dbgstr_rect(rect) );
else
- TRACE( "%p whole window ", hwnd );
+ TRACE( "%p whole window\n", hwnd );
dump_rdw_flags(flags);
}
--
1.4.1.1
More information about the wine-patches
mailing list