Add '\n' at the end of traces.
diff --git a/controls/menu.c b/controls/menu.c
index 2bd9f35..49201ec 100644
--- a/controls/menu.c
+++ b/controls/menu.c
@@ -3630,7 +3630,7 @@
if (IS_STRING_ITEM(flags) && str)
TRACE("hMenu %04x, pos %d, flags %08x, "
- "id %04x, str '%s'\n",
+ "id %04x, str %s\n",
hMenu, pos, flags, id, debugstr_w(str) );
else TRACE("hMenu %04x, pos %d, flags %08x, "
"id %04x, str %08lx (not a string)\n",
diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c
index aed7a6d..25db18a 100644
--- a/dlls/comctl32/commctrl.c
+++ b/dlls/comctl32/commctrl.c
@@ -879,7 +879,7 @@
COMCTL32_DllGetVersion (DLLVERSIONINFO *pdvi)
{
if (pdvi->cbSize != sizeof(DLLVERSIONINFO)) {
- WARN("wrong DLLVERSIONINFO size from app");
+ WARN("wrong DLLVERSIONINFO size from app\n");
return E_INVALIDARG;
}
@@ -1024,7 +1024,7 @@
TRACE("%lx, %lx, %x, %lx\n", ptme->cbSize, ptme->dwFlags, ptme->hwndTrack, ptme->dwHoverTime);
if (ptme->cbSize != sizeof(TRACKMOUSEEVENT)) {
- WARN("wrong TRACKMOUSEEVENT size from app");
+ WARN("wrong TRACKMOUSEEVENT size from app\n");
SetLastError(ERROR_INVALID_PARAMETER); /* FIXME not sure if this is correct */
return FALSE;
}
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index cff5129..2e50017 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -3035,8 +3035,8 @@
UINT textoutOptions = ETO_CLIPPED | ETO_OPAQUE;
RECT rcTemp;
- TRACE("(hwnd=%x, hdc=%x, nItem=%d, left=%d, top=%d, right=%d, \
-bottom=%d)\n", hwnd, hdc, nItem, rcItem.left, rcItem.top, rcItem.right,
+ TRACE("(hwnd=%x, hdc=%x, nItem=%d, left=%d, top=%d, right=%d, bottom=%d)\n",
+ hwnd, hdc, nItem, rcItem.left, rcItem.top, rcItem.right,
rcItem.bottom);
/* get information needed for drawing the item */
@@ -8506,7 +8506,7 @@
(WPARAM)hwnd, (LPARAM)NF_QUERY);
if (infoPtr->notifyFormat == NFR_UNICODE)
{
- FIXME("NO support for unicode structures");
+ FIXME("NO support for unicode structures\n");
}
}
diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c
index 6e9549e..86a763d 100644
--- a/dlls/comctl32/treeview.c
+++ b/dlls/comctl32/treeview.c
@@ -3450,7 +3450,7 @@
if (iLength >= 1023)
{
- ERR("Insuficient space to retrieve new item label.");
+ ERR("Insuficient space to retrieve new item label\n");
}
tvdi.item.pszText = tmpText;
@@ -3472,7 +3472,7 @@
{
if (NULL == COMCTL32_ReAlloc(editedItem->pszText, iLength + 1))
{
- ERR("OutOfMemory, cannot allocate space for label");
+ ERR("OutOfMemory, cannot allocate space for label\n");
DestroyWindow(infoPtr->hwndEdit);
infoPtr->hwndEdit = 0;
return FALSE;
diff --git a/dlls/commdlg/filedlg.c b/dlls/commdlg/filedlg.c
index 9aa2a5f..44eb8cc 100644
--- a/dlls/commdlg/filedlg.c
+++ b/dlls/commdlg/filedlg.c
@@ -543,8 +543,8 @@
(LPARAM)(ofn->lpstrCustomFilter) + n );
n += lstrlenW(pstr) + 1;
pstr += lstrlenW(pstr) + 1;
- TRACE("add str='%s' "
- "associated to '%s'\n", debugstr_w(old_pstr), debugstr_w(pstr));
+ TRACE("add str=%s associated to %s\n",
+ debugstr_w(old_pstr), debugstr_w(pstr));
SendDlgItemMessageW(hWnd, cmb1, CB_SETITEMDATA, i, (LPARAM)pstr);
n += lstrlenW(pstr) + 1;
pstr += lstrlenW(pstr) + 1;
@@ -560,8 +560,8 @@
(LPARAM)(ofn->lpstrFilter + n) );
n += lstrlenW(pstr) + 1;
pstr += lstrlenW(pstr) + 1;
- TRACE("add str='%s' "
- "associated to '%s'\n", debugstr_w(old_pstr), debugstr_w(pstr));
+ TRACE("add str=%s associated to %s\n",
+ debugstr_w(old_pstr), debugstr_w(pstr));
SendDlgItemMessageW(hWnd, cmb1, CB_SETITEMDATA, i, (LPARAM)pstr);
n += lstrlenW(pstr) + 1;
pstr += lstrlenW(pstr) + 1;
diff --git a/dlls/ddraw/ddraw/main.c b/dlls/ddraw/ddraw/main.c
index 99c6a8f..6f9b638 100644
--- a/dlls/ddraw/ddraw/main.c
+++ b/dlls/ddraw/ddraw/main.c
@@ -1246,7 +1246,7 @@
const ddraw_driver* driver;
ICOM_THIS(IDirectDrawImpl, iface);
- TRACE("(%p)->(%p)", iface, pDeviceGuid);
+ TRACE("(%p)->(%p)\n", iface, pDeviceGuid);
driver = DDRAW_FindDriver(pDeviceGuid);
/* XXX This return value is not documented. (Not checked.) */
diff --git a/dlls/dinput/mouse/main.c b/dlls/dinput/mouse/main.c
index f96d867..0ab0199 100644
--- a/dlls/dinput/mouse/main.c
+++ b/dlls/dinput/mouse/main.c
@@ -305,8 +305,8 @@
else if (df->dwFlags == DIDF_RELAXIS)
This->absolute = 0;
else
- ERR("Neither absolute nor relative flag set.");
-
+ ERR("Neither absolute nor relative flag set\n");
+
/* Store the new data format */
This->df = HeapAlloc(GetProcessHeap(),0,df->dwSize);
memcpy(This->df, df, df->dwSize);
diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c
index 0504517..ea84913 100644
--- a/dlls/dsound/dsound_main.c
+++ b/dlls/dsound/dsound_main.c
@@ -2412,7 +2412,7 @@
{
INT16 *bufs = (INT16 *) buf;
- /* TRACE("(%p)", buf); */
+ /* TRACE("(%p)\n", buf); */
if ((dsb->wfx.wBitsPerSample == 8) && dsb->wfx.nChannels == 2) {
*fl = cvtU8toS16(*buf);
*fr = cvtU8toS16(*(buf + 1));
@@ -2601,7 +2601,7 @@
obp = buf;
if (buf_mixpos > buflen) {
- FIXME("Major breakage");
+ FIXME("Major breakage\n");
return;
}
diff --git a/dlls/imm32/imc.c b/dlls/imm32/imc.c
index 115812e..5d27182 100644
--- a/dlls/imm32/imc.c
+++ b/dlls/imm32/imc.c
@@ -161,7 +161,7 @@
if ( pIMC->context.hWnd != (HWND)NULL )
{
- FIXME( "please release lock of the context.hWnd!" );
+ FIXME( "please release lock of the context.hWnd!\n" );
}
if ( pIMC->fSelected )
diff --git a/dlls/imm32/imewnd.c b/dlls/imm32/imewnd.c
index deda449..a305d2c 100644
--- a/dlls/imm32/imewnd.c
+++ b/dlls/imm32/imewnd.c
@@ -191,10 +191,10 @@
case WM_KEYUP:
return IMM32_IMEWnd_WM_KEYUP( pParam, wParam, lParam );
case WM_IME_KEYDOWN:
- ERR( "Why WM_IME_KEYDOWN is generated?" );
+ ERR( "Why WM_IME_KEYDOWN is generated?\n" );
return 0;
case WM_IME_KEYUP:
- ERR( "Why WM_IME_KEYUP is generated?" );
+ ERR( "Why WM_IME_KEYUP is generated?\n" );
return 0;
case WM_IME_CHAR:
FIXME( "ignore WM_IME_CHAR - wParam %08x, lParam %08lx.\n",
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index fdc877f..45153ca 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -178,7 +178,7 @@
case VER_PLATFORM_WIN32_WINDOWS: return -1;
case VER_PLATFORM_WIN32_NT: return 0;
default:
- FIXME("%ld not supported",version.dwPlatformId);
+ FIXME("%ld not supported\n",version.dwPlatformId);
return -1;
}
}
@@ -201,7 +201,7 @@
case VER_PLATFORM_WIN32_WINDOWS: return -1;
case VER_PLATFORM_WIN32_NT: return 0;
default:
- FIXME("%ld not supported",version.dwPlatformId);
+ FIXME("%ld not supported\n",version.dwPlatformId);
return -1;
}
}
@@ -365,7 +365,7 @@
case VER_PLATFORM_WIN32_NT:
return 0;
default:
- FIXME("%ld not supported",version.dwPlatformId);
+ FIXME("%ld not supported\n",version.dwPlatformId);
return VK_PROCESSKEY;
}
}
diff --git a/dlls/imm32/memory.c b/dlls/imm32/memory.c
index 991aeaf..5b5f323 100644
--- a/dlls/imm32/memory.c
+++ b/dlls/imm32/memory.c
@@ -89,7 +89,7 @@
{
if ( lpMoveable->dwLockCount == IMM32_MOVEABLEMEM_LOCK_MAX )
{
- ERR( "lock count is 0xffffffff." );
+ ERR( "lock count is 0xffffffff\n" );
}
else
{
diff --git a/dlls/kernel/utthunk.c b/dlls/kernel/utthunk.c
index 74f42c1..9497b60 100644
--- a/dlls/kernel/utthunk.c
+++ b/dlls/kernel/utthunk.c
@@ -108,7 +108,7 @@
segptrList = HeapAlloc( GetProcessHeap(), 0, sizeof(SEGPTR)*nList );
if ( !segptrList )
{
- FIXME("Unable to allocate segptrList!" );
+ FIXME("Unable to allocate segptrList!\n" );
return 0;
}
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index bcbdfd5..925e584 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -566,7 +566,7 @@
MSVCRT__set_errno(ERROR_INVALID_PARAMETER);
return -1;
}
- FIXME(":dwFileAttributes = %d, mode set to 0",hfi.dwFileAttributes);
+ FIXME(":dwFileAttributes = %d, mode set to 0\n",hfi.dwFileAttributes);
buf->st_nlink = hfi.nNumberOfLinks;
buf->st_size = hfi.nFileSizeLow;
RtlTimeToSecondsSince1970(&hfi.ftLastAccessTime, &dw);
diff --git a/dlls/msvcrt/locale.c b/dlls/msvcrt/locale.c
index 60156f3..83d8d36 100644
--- a/dlls/msvcrt/locale.c
+++ b/dlls/msvcrt/locale.c
@@ -406,7 +406,7 @@
if (haveCP && !haveCountry && !haveLang)
{
- FIXME(":Codepage only locale not implemented");
+ FIXME(":Codepage only locale not implemented\n");
/* FIXME: Use default lang/country and skip locale_to_LCID()
* call below...
*/
@@ -456,7 +456,7 @@
static const char *MSVCRT_days = ":Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:"
"Wednesday:Thu:Thursday:Fri:Friday:Sat:Saturday";
/* FIXME: Use locale */
- TRACE("(void) semi-stub");
+ TRACE("(void) semi-stub\n");
return MSVCRT_days;
}
@@ -469,7 +469,7 @@
"April:May:May:Jun:June:Jul:July:Aug:August:Sep:September:Oct:"
"October:Nov:November:Dec:December";
/* FIXME: Use locale */
- TRACE("(void) semi-stub");
+ TRACE("(void) semi-stub\n");
return MSVCRT_months;
}
@@ -479,7 +479,7 @@
const char* _Getnames(void)
{
/* FIXME: */
- TRACE("(void) stub");
+ TRACE("(void) stub\n");
return "";
}
@@ -490,7 +490,7 @@
const void *tm, void *foo)
{
/* FIXME: */
- TRACE("(%p %d %s %p %p) stub", out, len, fmt, tm, foo);
+ TRACE("(%p %d %s %p %p) stub\n", out, len, fmt, tm, foo);
return "";
}
diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c
index 25a4aae..df88124 100644
--- a/dlls/msvcrt/math.c
+++ b/dlls/msvcrt/math.c
@@ -719,7 +719,7 @@
*/
void _adj_fdiv_m16i(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -733,7 +733,7 @@
*/
void _adj_fdiv_m32(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -747,7 +747,7 @@
*/
void _adj_fdiv_m32i(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -761,7 +761,7 @@
*/
void _adj_fdiv_m64(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -775,7 +775,7 @@
*/
void _adj_fdiv_r(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -789,7 +789,7 @@
*/
void _adj_fdivr_m16i(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -803,7 +803,7 @@
*/
void _adj_fdivr_m32(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -817,7 +817,7 @@
*/
void _adj_fdivr_m32i(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -831,7 +831,7 @@
*/
void _adj_fdivr_m64(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -845,7 +845,7 @@
*/
void _adj_fpatan(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -859,7 +859,7 @@
*/
void _adj_fprem(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -873,7 +873,7 @@
*/
void _adj_fprem1(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -887,7 +887,7 @@
*/
void _adj_fptan(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -898,7 +898,7 @@
*/
void _adjust_fdiv(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -912,7 +912,7 @@
*/
void _safe_fdiv(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -926,7 +926,7 @@
*/
void _safe_fdivr(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -940,7 +940,7 @@
*/
void _safe_fprem(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
/***********************************************************************
@@ -955,7 +955,7 @@
*/
void _safe_fprem1(void)
{
- TRACE("(): stub");
+ TRACE("(): stub\n");
}
diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c
index 6144c48..6bf55f4 100644
--- a/dlls/odbc32/proxyodbc.c
+++ b/dlls/odbc32/proxyodbc.c
@@ -240,7 +240,7 @@
if (error[0])
{
- ERR("Failed to load function %s",gProxyHandle.functions[i].name);
+ ERR("Failed to load function %s\n",gProxyHandle.functions[i].name);
gProxyHandle.functions[i].func = SQLDummyFunc;
}
}
@@ -550,9 +550,10 @@
{
TRACE("returns: %d \t", ret);
if (*NameLength1 > 0)
- TRACE("DataSource = %s,", ServerName);
+ DPRINTF("DataSource = %s,", ServerName);
if (*NameLength2 > 0)
- TRACE(" Description = %s\n", Description);
+ DPRINTF(" Description = %s", Description);
+ DPRINTF("\n");
}
return ret;
diff --git a/dlls/ole32/bindctx.c b/dlls/ole32/bindctx.c
index d6e4c1d..f45303a 100644
--- a/dlls/ole32/bindctx.c
+++ b/dlls/ole32/bindctx.c
@@ -309,7 +309,7 @@
if (pbindopts->cbStruct > sizeof(BIND_OPTS2))
{
- WARN("invalid size");
+ WARN("invalid size\n");
return E_INVALIDARG; /* FIXME : not verified */
}
memcpy(&This->bindOption2, pbindopts, pbindopts->cbStruct);
@@ -330,7 +330,7 @@
if (pbindopts->cbStruct > sizeof(BIND_OPTS2))
{
- WARN("invalid size");
+ WARN("invalid size\n");
return E_INVALIDARG; /* FIXME : not verified */
}
memcpy(pbindopts, &This->bindOption2, pbindopts->cbStruct);
diff --git a/dlls/ole32/compositemoniker.c b/dlls/ole32/compositemoniker.c
index e844c9d..47f9e6b 100644
--- a/dlls/ole32/compositemoniker.c
+++ b/dlls/ole32/compositemoniker.c
@@ -340,8 +340,10 @@
else if (IsEqualIID(&clsid,&CLSID_CompositeMoniker))
return E_FAIL;
- else{
- FIXME("()");
+ else
+ {
+ FIXME("()\n");
+ /* FIXME: To whoever wrote this code: It's either return or break. it cannot be both! */
break;
return E_NOTIMPL;
}
diff --git a/dlls/ole32/filemoniker.c b/dlls/ole32/filemoniker.c
index d82f46e..818da5f 100644
--- a/dlls/ole32/filemoniker.c
+++ b/dlls/ole32/filemoniker.c
@@ -595,7 +595,7 @@
}
if (pca!=NULL){
- FIXME("()");
+ FIXME("()\n");
/*res=GetClassFile(This->filePathName,&clsID);
@@ -610,7 +610,7 @@
}
}*/
}
-}
+ }
if (pObj!=NULL){
/* get the requested interface from the loaded class */
diff --git a/dlls/oleaut32/safearray.c b/dlls/oleaut32/safearray.c
index 7a8527d..abb5b3d 100644
--- a/dlls/oleaut32/safearray.c
+++ b/dlls/oleaut32/safearray.c
@@ -1062,7 +1062,7 @@
if (psa->fFeatures & FADF_HAVEVARTYPE)
{
/* VT tag @ negative offset 4 in the array descriptor */
- FIXME("Returning VT_BSTR instead of VT_...");
+ FIXME("Returning VT_BSTR instead of VT_...\n");
vt = VT_BSTR;
}
else if (psa->fFeatures & FADF_RECORD)
@@ -1083,7 +1083,7 @@
*pvt = vt;
hr = S_OK;
}
-
- TRACE("HRESULT = %08lx", hr);
+
+ TRACE("HRESULT = %08lx\n", hr);
return hr;
}
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index af4852c..00d2c02 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -18,7 +18,7 @@
* - locale stuff is partially implemented but hasn't been tested.
*
* - imported typelib should be stored together in a linked list instead of having
- * independant TLBImpLib strucutures in each ITypeInfo. This way, imported libraries
+ * independant TLBImpLib structures in each ITypeInfo. This way, imported libraries
* are just imported once (major optimization)
*
* - typelib file is still read it's in entirety, but it is released now.
@@ -372,7 +372,7 @@
case 0x00000004: /* NT4 */
return MAKELONG(4277, 40); /* NT4 SP6 */
default:
- FIXME("Version value not known yet. Please investigate it !");
+ FIXME("Version value not known yet. Please investigate it!\n");
return 0;
}
}
@@ -649,7 +649,7 @@
break;
}
- TRACE("VARTYPE: %s", szVarType);
+ TRACE("VARTYPE: %s\n", szVarType);
switch (V_VT(pvar))
{
diff --git a/dlls/psapi/psapi_main.c b/dlls/psapi/psapi_main.c
index b258f6a..98626c4 100644
--- a/dlls/psapi/psapi_main.c
+++ b/dlls/psapi/psapi_main.c
@@ -288,7 +288,7 @@
*/
BOOL WINAPI QueryWorkingSet(HANDLE hProcess, LPVOID pv, DWORD cb)
{
- FIXME("(hProcess=0x%08x, %p, %ld)", hProcess, pv, cb);
+ FIXME("(hProcess=0x%08x, %p, %ld)\n", hProcess, pv, cb);
if(pv && cb)
((DWORD *) pv)[0] = 0; /* Empty WorkingSet */
diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c
index 7917dc4..7480b5d 100644
--- a/dlls/rpcrt4/rpcrt4_main.c
+++ b/dlls/rpcrt4/rpcrt4_main.c
@@ -259,7 +259,7 @@
((unsigned char*)Uuid->Data4)[6] = a[4];
((unsigned char*)Uuid->Data4)[7] = a[5];
- TRACE("%s", debugstr_guid(Uuid));
+ TRACE("%s\n", debugstr_guid(Uuid));
return S_OK;
}
diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c
index 981666c..e55db24 100644
--- a/dlls/shell32/shell32_main.c
+++ b/dlls/shell32/shell32_main.c
@@ -816,9 +816,9 @@
HRESULT WINAPI SHELL32_DllGetVersion (DLLVERSIONINFO *pdvi)
{
- if (pdvi->cbSize != sizeof(DLLVERSIONINFO))
+ if (pdvi->cbSize != sizeof(DLLVERSIONINFO))
{
- WARN("wrong DLLVERSIONINFO size from app");
+ WARN("wrong DLLVERSIONINFO size from app\n");
return E_INVALIDARG;
}
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index da7e3de..e1e4e53 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -40,7 +40,7 @@
szCaption, sizeof(szCaption));
}
else {
- FIXME("Called without a valid nKindOfDialog specified!");
+ FIXME("Called without a valid nKindOfDialog specified!\n");
LoadStringA(shell32_hInstance, IDS_DELETEITEM_TEXT, szText,
sizeof(szText));
LoadStringA(shell32_hInstance, IDS_DELETEITEM_CAPTION,
diff --git a/dlls/shell32/shlfolder.c b/dlls/shell32/shlfolder.c
index 31fc1c7..7f08e5c 100644
--- a/dlls/shell32/shlfolder.c
+++ b/dlls/shell32/shlfolder.c
@@ -1518,7 +1518,7 @@
TRACE("delete %s\n", szPath);
if (! SHELL_DeleteDirectoryA(szPath, bConfirm))
{
- TRACE("delete %s failed, bConfirm=%d", szPath, bConfirm);
+ TRACE("delete %s failed, bConfirm=%d\n", szPath, bConfirm);
return E_FAIL;
}
pidl = ILCombine(This->absPidl, apidl[i]);
@@ -1532,7 +1532,7 @@
TRACE("delete %s\n", szPath);
if (! SHELL_DeleteFileA(szPath, bConfirm))
{
- TRACE("delete %s failed, bConfirm=%d", szPath, bConfirm);
+ TRACE("delete %s failed, bConfirm=%d\n", szPath, bConfirm);
return E_FAIL;
}
pidl = ILCombine(This->absPidl, apidl[i]);
diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c
index c8850d5..3d3828b 100644
--- a/dlls/shell32/shlview.c
+++ b/dlls/shell32/shlview.c
@@ -1554,7 +1554,7 @@
if ((lpmsg->message>=WM_KEYFIRST) && (lpmsg->message>=WM_KEYLAST))
{
- TRACE("-- key=0x04%x",lpmsg->wParam) ;
+ TRACE("-- key=0x04%x\n",lpmsg->wParam) ;
}
return S_FALSE; /* not handled */
}
diff --git a/dlls/shlwapi/shlwapi_main.c b/dlls/shlwapi/shlwapi_main.c
index ff5a241..b7c2cd1 100644
--- a/dlls/shlwapi/shlwapi_main.c
+++ b/dlls/shlwapi/shlwapi_main.c
@@ -62,9 +62,9 @@
HRESULT WINAPI SHLWAPI_DllGetVersion (DLLVERSIONINFO *pdvi)
{
- if (pdvi->cbSize != sizeof(DLLVERSIONINFO))
+ if (pdvi->cbSize != sizeof(DLLVERSIONINFO))
{
- WARN("wrong DLLVERSIONINFO size from app");
+ WARN("wrong DLLVERSIONINFO size from app\n");
return E_INVALIDARG;
}
diff --git a/dlls/ttydrv/palette.c b/dlls/ttydrv/palette.c
index ec558f5..c7e06e1 100644
--- a/dlls/ttydrv/palette.c
+++ b/dlls/ttydrv/palette.c
@@ -37,7 +37,7 @@
COLOR_sysPal = (PALETTEENTRY *) HeapAlloc(GetProcessHeap(), 0, sizeof(PALETTEENTRY) * TTYDRV_DC_DevCaps.sizePalette);
if(COLOR_sysPal == NULL) {
- WARN("No memory to create system palette!");
+ WARN("No memory to create system palette!\n");
return FALSE;
}
diff --git a/dlls/user/resource.c b/dlls/user/resource.c
index e5a0802..0c3acf9 100644
--- a/dlls/user/resource.c
+++ b/dlls/user/resource.c
@@ -348,8 +348,8 @@
if (HIWORD(resource_id)==0xFFFF) /* netscape 3 passes this */
resource_id = (UINT)(-((INT)resource_id));
- TRACE("instance = %04x, id = %04x, buffer = %08x, "
- "length = %d\n", instance, (int)resource_id, (int) buffer, buflen);
+ TRACE("instance = %04x, id = %04x, buffer = %08x, length = %d\n",
+ instance, (int)resource_id, (int) buffer, buflen);
/* Use bits 4 - 19 (incremented by 1) as resourceid, mask out
* 20 - 31. */
@@ -394,8 +394,8 @@
INT retval;
LPWSTR wbuf;
- TRACE("instance = %04x, id = %04x, buffer = %08x, "
- "length = %d\n", instance, (int)resource_id, (int) buffer, buflen);
+ TRACE("instance = %04x, id = %04x, buffer = %08x, length = %d\n",
+ instance, (int)resource_id, (int) buffer, buflen);
if(buffer == NULL) /* asked size of string */
return LoadStringW(instance, resource_id, NULL, 0);
diff --git a/dlls/version/install.c b/dlls/version/install.c
index fb4ae91..0e2a2f7 100644
--- a/dlls/version/install.c
+++ b/dlls/version/install.c
@@ -121,7 +121,7 @@
char systemDir[MAX_PATH];
/* Print out debugging information */
- TRACE("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)",
+ TRACE("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)\n",
flags, debugstr_a(lpszFilename), debugstr_a(lpszWinDir), debugstr_a(lpszAppDir),
lpuCurDirLen, lpuCurDirLen ? *lpuCurDirLen : 0,
lpuDestDirLen, lpuDestDirLen ? *lpuDestDirLen : 0 );
@@ -212,7 +212,7 @@
WCHAR systemDir[MAX_PATH];
/* Print out debugging information */
- TRACE("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)",
+ TRACE("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)\n",
flags, debugstr_w(lpszFilename), debugstr_w(lpszWinDir), debugstr_w(lpszAppDir),
lpuCurDirLen, lpuCurDirLen ? *lpuCurDirLen : 0,
lpuDestDirLen, lpuDestDirLen ? *lpuDestDirLen : 0 );
@@ -295,7 +295,7 @@
alloclen = 1000;
buf=HeapAlloc(GetProcessHeap(), 0, alloclen);
if(buf == NULL) {
- WARN("Memory exausted while fetching version info!");
+ WARN("Memory exausted while fetching version info!\n");
return NULL;
}
while (1) {
@@ -309,7 +309,7 @@
HeapFree(GetProcessHeap(), 0, buf);
buf = HeapAlloc(GetProcessHeap(), 0, alloclen);
if(buf == NULL) {
- WARN("Memory exausted while fetching version info!");
+ WARN("Memory exausted while fetching version info!\n");
return NULL;
}
} else {
diff --git a/dlls/winaspi/aspi.c b/dlls/winaspi/aspi.c
index 29b930d..0c07182 100644
--- a/dlls/winaspi/aspi.c
+++ b/dlls/winaspi/aspi.c
@@ -95,7 +95,7 @@
SetLastError( ERROR_BAD_FORMAT );
break;
default:
- WARN( "unknown file error: %s", strerror(save_errno) );
+ WARN( "unknown file error: %s\n", strerror(save_errno) );
SetLastError( ERROR_GEN_FAILURE );
break;
}
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index 94e367f..2259a46 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -909,7 +909,7 @@
}
default:
- FIXME("Stub!");
+ FIXME("Stub!\n");
break;
}
@@ -986,7 +986,7 @@
*
* So someone needs to implement this.
*/
- FIXME("Unimplemented with URL of NULL");
+ FIXME("Unimplemented with URL of NULL\n");
return TRUE;
}
else
diff --git a/dlls/winmm/driver.c b/dlls/winmm/driver.c
index 93ece94..8c8d1ef 100644
--- a/dlls/winmm/driver.c
+++ b/dlls/winmm/driver.c
@@ -35,7 +35,7 @@
LPWINE_DRIVER lpDrv;
WORD count = 0;
- if (lpNewDrv->dwFlags & WINE_GDF_16BIT) ERR("OOOch");
+ if (lpNewDrv->dwFlags & WINE_GDF_16BIT) ERR("OOOch\n");
for (lpDrv = lpDrvItemList; lpDrv; lpDrv = lpDrv->lpNextItem) {
if (!(lpDrv->dwFlags & WINE_GDF_16BIT) &&
lpDrv->d.d32.hModule == lpNewDrv->d.d32.hModule) {
diff --git a/dlls/winmm/mci.c b/dlls/winmm/mci.c
index c992166..d70af6c 100644
--- a/dlls/winmm/mci.c
+++ b/dlls/winmm/mci.c
@@ -732,7 +732,7 @@
if ((dwRet = MCI_GetString((LPSTR*)&data[offset], &args)))
return dwRet;
break;
- default: ERR("oops");
+ default: ERR("oops\n");
}
/* exit inside while loop, except if just entered in constant area definition */
if (!inCst || eid != MCI_CONSTANT) eid = MCI_END_COMMAND;
@@ -749,7 +749,7 @@
case MCI_END_CONSTANT:
case MCI_STRING: offset++; break;
case MCI_RECT: offset += 4; break;
- default: ERR("oops");
+ default: ERR("oops\n");
}
}
} while (eid != MCI_END_COMMAND);
diff --git a/dlls/winmm/mciavi/mmoutput.c b/dlls/winmm/mciavi/mmoutput.c
index 9932ad4..bcac07d 100644
--- a/dlls/winmm/mciavi/mmoutput.c
+++ b/dlls/winmm/mciavi/mmoutput.c
@@ -457,7 +457,7 @@
}
if (wma->dwCurrVideoFrame != 0 && wma->lpWaveFormat) {
- FIXME("Should recompute dwCurrAudioBlock, except unsynchronized sound & video");
+ FIXME("Should recompute dwCurrAudioBlock, except unsynchronized sound & video\n");
}
wma->dwCurrAudioBlock = 0;
diff --git a/dlls/winmm/mciavi/wnd.c b/dlls/winmm/mciavi/wnd.c
index b39e28d..35b04de 100644
--- a/dlls/winmm/mciavi/wnd.c
+++ b/dlls/winmm/mciavi/wnd.c
@@ -164,7 +164,7 @@
GetClientRect(wma->hWnd, &lpParms->rc);
}
if (dwFlags & MCI_DGV_WHERE_FRAME) {
- FIXME(x = "Frame");
+ FIXME(x = "Frame\n");
return MCIERR_UNRECOGNIZED_COMMAND;
}
if (dwFlags & MCI_DGV_WHERE_SOURCE) {
@@ -174,7 +174,7 @@
lpParms->rc.bottom = wma->mah.dwHeight;
}
if (dwFlags & MCI_DGV_WHERE_VIDEO) {
- FIXME(x = "Video");
+ FIXME(x = "Video\n");
return MCIERR_UNRECOGNIZED_COMMAND;
}
if (dwFlags & MCI_DGV_WHERE_WINDOW) {
diff --git a/dlls/winmm/mcicda/mcicda.c b/dlls/winmm/mcicda/mcicda.c
index 9267ff8..d044c34 100644
--- a/dlls/winmm/mcicda/mcicda.c
+++ b/dlls/winmm/mcicda/mcicda.c
@@ -241,7 +241,7 @@
}
if (dwFlags & MCI_OPEN_ELEMENT) {
if (dwFlags & MCI_OPEN_ELEMENT_ID) {
- WARN("MCI_OPEN_ELEMENT_ID %8lx ! Abort", (DWORD)lpOpenParms->lpstrElementName);
+ WARN("MCI_OPEN_ELEMENT_ID %8lx ! Abort\n", (DWORD)lpOpenParms->lpstrElementName);
return MCIERR_NO_ELEMENT_ALLOWED;
}
WARN("MCI_OPEN_ELEMENT %s ignored\n",lpOpenParms->lpstrElementName);
diff --git a/dlls/winmm/wineoss/audio.c b/dlls/winmm/wineoss/audio.c
index 1af7b8f..6585a26 100644
--- a/dlls/winmm/wineoss/audio.c
+++ b/dlls/winmm/wineoss/audio.c
@@ -1864,7 +1864,7 @@
switch (msg.message) {
case WINE_WM_PAUSING:
wwi->state = WINE_WS_PAUSED;
- /*FIXME("Device should stop recording");*/
+ /*FIXME("Device should stop recording\n");*/
SetEvent(wwi->hEvent);
break;
case WINE_WM_RESTARTING:
diff --git a/files/profile.c b/files/profile.c
index c0db4ef..5ae6f65 100644
--- a/files/profile.c
+++ b/files/profile.c
@@ -993,8 +993,7 @@
retval = def;
}
- TRACE("(\"%s\", \"%s\", %s), "
- "[%c], ret %s.\n", section, key_name,
+ TRACE("(\"%s\", \"%s\", %s), [%c], ret %s.\n", section, key_name,
def ? "TRUE" : "FALSE", key_value[0],
retval ? "TRUE" : "FALSE");
diff --git a/graphics/win16drv/init.c b/graphics/win16drv/init.c
index e9588f9..c3c3e7c 100644
--- a/graphics/win16drv/init.c
+++ b/graphics/win16drv/init.c
@@ -234,7 +234,7 @@
printerDevCaps = (DeviceCaps *) calloc(1, sizeof(DeviceCaps));
if(printerDevCaps == NULL) {
- ERR("No memory to read the device capabilities!");
+ ERR("No memory to read the device capabilities!\n");
HeapFree( GetProcessHeap(), 0, physDev );
return FALSE;
}
diff --git a/graphics/x11drv/palette.c b/graphics/x11drv/palette.c
index 76f23cf..644c6f4 100644
--- a/graphics/x11drv/palette.c
+++ b/graphics/x11drv/palette.c
@@ -891,7 +891,7 @@
mapping = HeapReAlloc( GetProcessHeap(), 0, palPtr->mapping,
sizeof(int)*palPtr->logpalette.palNumEntries);
if(mapping == NULL) {
- ERR("Can not allocate new mapping -- memory exausted!");
+ ERR("Can not allocate new mapping -- memory exausted!\n");
return 0;
}
palPtr->mapping = mapping;
diff --git a/memory/global.c b/memory/global.c
index 137d0b7..c6f744a 100644
--- a/memory/global.c
+++ b/memory/global.c
@@ -1435,7 +1435,7 @@
}
else
{
- WARN("Invalid handle: %04x", hmem);
+ WARN("Invalid handle: %04x\n", hmem);
retval=0;
}
/* HeapUnlock(GetProcessHeap()); */
diff --git a/msdos/int10.c b/msdos/int10.c
index 2e2a858..f693e27 100644
--- a/msdos/int10.c
+++ b/msdos/int10.c
@@ -479,12 +479,12 @@
(AH_reg(context) == 0x09) ? BL_reg(context) : -1,
CX_reg(context));
if (CX_reg(context) > 1)
- TRACE("Write Character%s at Cursor Position "
- "(Rep. %d): %c\n", (AH_reg(context) == 0x09) ? " and Attribute" : "",
+ TRACE("Write Character%s at Cursor Position (Rep. %d): %c\n",
+ (AH_reg(context) == 0x09) ? " and Attribute" : "",
CX_reg(context), AL_reg(context));
else
- TRACE("Write Character%s at Cursor "
- "Position: %c\n", (AH_reg(context) == 0x09) ? " and Attribute" : "",
+ TRACE("Write Character%s at Cursor Position: %c\n",
+ (AH_reg(context) == 0x09) ? " and Attribute" : "",
AL_reg(context));
}
break;
diff --git a/msdos/int21.c b/msdos/int21.c
index 2497783..51e4531 100644
--- a/msdos/int21.c
+++ b/msdos/int21.c
@@ -1739,7 +1739,7 @@
case 0x52: /* DR-DOS version */
/* This is not DR-DOS */
- TRACE("GET DR-DOS VERSION requested");
+ TRACE("GET DR-DOS VERSION requested\n");
AX_reg(context) = 0x0001; /* Invalid function */
SET_CFLAG(context); /* Error */
diff --git a/msdos/ioports.c b/msdos/ioports.c
index b43bfde..18a73cf 100644
--- a/msdos/ioports.c
+++ b/msdos/ioports.c
@@ -95,7 +95,7 @@
Dosvm.SetTimer(maxval);
break;
case 1: /* RAM refresh */
- FIXME("RAM refresh counter handling not implemented !");
+ FIXME("RAM refresh counter handling not implemented !\n");
break;
case 2: /* cassette & speaker */
/* speaker on ? */
diff --git a/objects/palette.c b/objects/palette.c
index 78ed5b6..1281945 100644
--- a/objects/palette.c
+++ b/objects/palette.c
@@ -71,7 +71,7 @@
if (palObj)
{
if (!(palObj->mapping = HeapAlloc( GetProcessHeap(), 0, sizeof(int) * 20 )))
- ERR("Can not create palette mapping -- out of memory!");
+ ERR("Can not create palette mapping -- out of memory!\n");
GDI_ReleaseObj( hpalette );
}
return hpalette;
@@ -333,7 +333,7 @@
mapping, cEntries * sizeof(int) );
if(newMap == NULL)
{
- ERR("Can not resize mapping -- out of memory!");
+ ERR("Can not resize mapping -- out of memory!\n");
GDI_ReleaseObj( hPal );
return FALSE;
}
diff --git a/windows/clipboard.c b/windows/clipboard.c
index d51e063..06fe236 100644
--- a/windows/clipboard.c
+++ b/windows/clipboard.c
@@ -796,7 +796,7 @@
if (hClipLock != GetCurrentTask())
{
- WARN("Clipboard not opened by calling task!");
+ WARN("Clipboard not opened by calling task!\n");
return FALSE;
}
@@ -1046,7 +1046,7 @@
if (CLIPBOARD_IsLocked())
{
- WARN("Clipboard not opened by calling task!");
+ WARN("Clipboard not opened by calling task!\n");
return 0;
}
@@ -1168,7 +1168,7 @@
if (CLIPBOARD_IsLocked())
{
- WARN("Clipboard not opened by calling task!");
+ WARN("Clipboard not opened by calling task!\n");
return 0;
}
@@ -1207,7 +1207,7 @@
lpNewFormat = (LPWINE_CLIPFORMAT)HeapAlloc(GetProcessHeap(), 0, sizeof(WINE_CLIPFORMAT));
if(lpNewFormat == NULL) {
- WARN("No more memory for a new format!");
+ WARN("No more memory for a new format!\n");
return 0;
}
lpFormat->NextFormat = lpNewFormat;
@@ -1216,7 +1216,7 @@
lpNewFormat->Name = (LPSTR)HEAP_strdupA(GetProcessHeap(), 0, FormatName);
if(lpNewFormat->Name == NULL) {
- WARN("No more memory for the new format name!");
+ WARN("No more memory for the new format name!\n");
HeapFree(GetProcessHeap(), 0, lpNewFormat);
return 0;
}
diff --git a/windows/defwnd.c b/windows/defwnd.c
index 855bde3..d5459ab 100644
--- a/windows/defwnd.c
+++ b/windows/defwnd.c
@@ -70,7 +70,7 @@
if ((wndPtr->text = HeapAlloc(GetProcessHeap(), 0, count * sizeof(WCHAR))))
MultiByteToWideChar( CP_ACP, 0, text, -1, wndPtr->text, count );
else
- ERR("Not enough memory for window text");
+ ERR("Not enough memory for window text\n");
if (USER_Driver.pSetWindowText)
USER_Driver.pSetWindowText(wndPtr->hwndSelf, wndPtr->text);
@@ -93,7 +93,7 @@
if ((wndPtr->text = HeapAlloc(GetProcessHeap(), 0, count * sizeof(WCHAR))))
strcpyW( wndPtr->text, text );
else
- ERR("Not enough memory for window text");
+ ERR("Not enough memory for window text\n");
if (USER_Driver.pSetWindowText)
USER_Driver.pSetWindowText(wndPtr->hwndSelf, wndPtr->text);
diff --git a/windows/scroll.c b/windows/scroll.c
index 71dc90a..9afd2f0 100644
--- a/windows/scroll.c
+++ b/windows/scroll.c
@@ -268,11 +268,11 @@
HRGN hrgnTemp = CreateRectRgnIndirect(&rc);
RECT caretrc;
-TRACE("%04x, %d,%d hrgnUpdate=%04x rcUpdate = %p \
-cliprc = (%d,%d-%d,%d), rc=(%d,%d-%d,%d) %04x\n",
-(HWND16)hwnd, dx, dy, hrgnUpdate, rcUpdate,
-clipRect?clipRect->left:0, clipRect?clipRect->top:0, clipRect?clipRect->right:0, clipRect?clipRect->bottom:0,
-rc.left, rc.top, rc.right, rc.bottom, (UINT16)flags );
+ TRACE("%04x, %d,%d hrgnUpdate=%04x rcUpdate = %p cliprc = (%d,%d-%d,%d), rc=(%d,%d-%d,%d) %04x\n",
+ (HWND16)hwnd, dx, dy, hrgnUpdate, rcUpdate,
+ clipRect?clipRect->left:0, clipRect?clipRect->top:0,
+ clipRect?clipRect->right:0, clipRect?clipRect->bottom:0,
+ rc.left, rc.top, rc.right, rc.bottom, (UINT16)flags );
caretrc = rc;
bCaret = SCROLL_FixCaret(hwnd, &caretrc, flags);
diff --git a/windows/x11drv/event.c b/windows/x11drv/event.c
index ceb6994..a62d601 100644
--- a/windows/x11drv/event.c
+++ b/windows/x11drv/event.c
@@ -1061,7 +1061,7 @@
}
/* Update the X property */
- TRACE("\tUpdating property %s...", TSXGetAtomName(display, rprop));
+ TRACE("\tUpdating property %s...\n", TSXGetAtomName(display, rprop));
/* We may want to consider setting the type to xaTargets instead,
* in case some apps expect this instead of XA_ATOM */
@@ -1363,7 +1363,7 @@
/* We must have a non "None" property to service a MULTIPLE target atom */
if ( !targetPropList[i+1] )
{
- TRACE("\tMULTIPLE(%d): Skipping target with empty property!", i);
+ TRACE("\tMULTIPLE(%d): Skipping target with empty property!\n", i);
continue;
}
@@ -1502,7 +1502,7 @@
static void EVENT_PropertyNotify( XPropertyEvent *event )
{
/* Check if we have any resources to free */
- TRACE("Received PropertyNotify event: ");
+ TRACE("Received PropertyNotify event: \n");
switch(event->state)
{
diff --git a/windows/x11drv/keyboard.c b/windows/x11drv/keyboard.c
index f9a18bb..9bc5242 100644
--- a/windows/x11drv/keyboard.c
+++ b/windows/x11drv/keyboard.c
@@ -692,7 +692,7 @@
TRACE("called\n");
if (!TSXQueryKeymap(display, keys_return)) {
- ERR("Error getting keymap !");
+ ERR("Error getting keymap !\n");
return;
}
@@ -850,7 +850,7 @@
syms = keysyms_per_keycode;
if (syms > 4) {
- WARN("%d keysyms per keycode not supported, set to 4", syms);
+ WARN("%d keysyms per keycode not supported, set to 4\n", syms);
syms = 4;
}
for (current = 0; main_key_tab[current].comment; current++) {
diff --git a/windows/x11drv/wineclipsrv.c b/windows/x11drv/wineclipsrv.c
index c54d2f5..5e0b938 100644
--- a/windows/x11drv/wineclipsrv.c
+++ b/windows/x11drv/wineclipsrv.c
@@ -842,7 +842,7 @@
/* We must have a non "None" property to service a MULTIPLE target atom */
if ( !targetPropList[i+1] )
{
- TRACE("\tMULTIPLE(%d): Skipping target with empty property!", i);
+ TRACE("\tMULTIPLE(%d): Skipping target with empty property!\n", i);
continue;
}