Various trace fixes.

Add trailing '\n's to trace calls.
Remove spaces before '\n'.
oldstable
Francois Gouget 2006-05-12 00:32:31 +02:00 committed by Alexandre Julliard
parent e739ba9551
commit f7c24f37ad
8 changed files with 16 additions and 16 deletions

View File

@ -100,7 +100,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_CreatePixelShader(LPDIRECT3DDEVICE9 iface, C
IDirect3DPixelShader9Impl *object;
HRESULT hrc = D3D_OK;
TRACE("(%p) Relay \n", This);
TRACE("(%p) Relay\n", This);
if (ppShader == NULL) {
TRACE("(%p) Invalid call\n", This);

View File

@ -469,13 +469,13 @@ static void ProcessVerticesTest()
/* Play with some matrices. */
rc = IDirect3DDevice7_SetTransform(lpD3DDevice, D3DTRANSFORMSTATE_VIEW, &view);
ok(rc==D3D_OK, "IDirect3DDevice7_SetTransform failed");
ok(rc==D3D_OK, "IDirect3DDevice7_SetTransform failed\n");
rc = IDirect3DDevice7_SetTransform(lpD3DDevice, D3DTRANSFORMSTATE_PROJECTION, &proj);
ok(rc==D3D_OK, "IDirect3DDevice7_SetTransform failed");
ok(rc==D3D_OK, "IDirect3DDevice7_SetTransform failed\n");
rc = IDirect3DDevice7_SetTransform(lpD3DDevice, D3DTRANSFORMSTATE_WORLD, &world);
ok(rc==D3D_OK, "IDirect3DDevice7_SetTransform failed");
ok(rc==D3D_OK, "IDirect3DDevice7_SetTransform failed\n");
rc = IDirect3DVertexBuffer7_ProcessVertices(lpVBufDest1, D3DVOP_TRANSFORM, 0, 4, lpVBufSrc, 0, lpD3DDevice, 0);
ok(rc==D3D_OK , "IDirect3DVertexBuffer::ProcessVertices returned: %lx\n", rc);
@ -492,7 +492,7 @@ static void ProcessVerticesTest()
vp.dvMinZ = 1.0;
vp.dvMaxZ = 0.0;
rc = IDirect3DDevice7_SetViewport(lpD3DDevice, &vp);
ok(rc==D3D_OK, "IDirect3DDevice7_SetViewport failed");
ok(rc==D3D_OK, "IDirect3DDevice7_SetViewport failed\n");
/* Check the results */
if( !comparefloat(out[0].x, 256.0 ) || /* X coordinate is cut at the surface edges */

View File

@ -299,7 +299,7 @@ static void test_dib_info(HBITMAP hbm, const void *bits, const BITMAPINFOHEADER
ok(ret == sizeof(ds), "%d != %d\n", ret, sizeof(ds));
ok(ds.dsBm.bmBits == bits, "wrong bm.bmBits %p != %p\n", ds.dsBm.bmBits, bits);
ok(ds.dsBmih.biSizeImage == ds.dsBm.bmWidthBytes * ds.dsBm.bmHeight, "%lu != %u",
ok(ds.dsBmih.biSizeImage == ds.dsBm.bmWidthBytes * ds.dsBm.bmHeight, "%lu != %u\n",
ds.dsBmih.biSizeImage, ds.dsBm.bmWidthBytes * ds.dsBm.bmHeight);
ok(bmih->biSizeImage == 0, "%lu != 0\n", bmih->biSizeImage);
ds.dsBmih.biSizeImage = 0;

View File

@ -242,7 +242,7 @@ static void test_module(DWORD pid, const char* expected[], unsigned num_expected
{
trace("PID=%lx base=%p size=%lx %s %s\n",
me.th32ProcessID, me.modBaseAddr, me.modBaseSize, me.szExePath, me.szModule);
ok(me.th32ProcessID == pid, "wrong returned process id");
ok(me.th32ProcessID == pid, "wrong returned process id\n");
for (i = 0; i < num_expected; i++)
if (!lstrcmpi(expected[i], me.szModule)) found[i]++;
num++;

View File

@ -72,13 +72,13 @@ static void test_null(void)
UINT r;
r = MsiOpenPackageExW(NULL, 0, &hpkg);
ok( r == ERROR_INVALID_PARAMETER,"wrong error");
ok( r == ERROR_INVALID_PARAMETER,"wrong error\n");
r = MsiQueryProductStateW(NULL);
ok( r == INSTALLSTATE_INVALIDARG, "wrong return\n");
r = MsiEnumFeaturesW(NULL,0,NULL,NULL);
ok( r == ERROR_INVALID_PARAMETER,"wrong error");
ok( r == ERROR_INVALID_PARAMETER,"wrong error\n");
}
START_TEST(msi)

View File

@ -515,7 +515,7 @@ static void test_class_moniker(void)
ok_ole_success(hr, IMoniker_IsSystemMoniker);
ok(moniker_type == MKSYS_CLASSMONIKER,
"dwMkSys != MKSYS_CLASSMONIKER, instead was 0x%08lx",
"dwMkSys != MKSYS_CLASSMONIKER, instead was 0x%08lx\n",
moniker_type);
hr = CreateBindCtx(0, &bindctx);
@ -644,7 +644,7 @@ static void test_item_moniker(void)
ok_ole_success(hr, IMoniker_IsSystemMoniker);
ok(moniker_type == MKSYS_ITEMMONIKER,
"dwMkSys != MKSYS_ITEMMONIKER, instead was 0x%08lx",
"dwMkSys != MKSYS_ITEMMONIKER, instead was 0x%08lx\n",
moniker_type);
hr = CreateBindCtx(0, &bindctx);
@ -702,7 +702,7 @@ static void test_anti_moniker(void)
hr = IMoniker_IsSystemMoniker(moniker, &moniker_type);
ok_ole_success(hr, IMoniker_IsSystemMoniker);
ok(moniker_type == MKSYS_ANTIMONIKER,
"dwMkSys != MKSYS_ANTIMONIKER, instead was 0x%08lx",
"dwMkSys != MKSYS_ANTIMONIKER, instead was 0x%08lx\n",
moniker_type);
hr = IMoniker_Inverse(moniker, &inverse);
@ -776,7 +776,7 @@ static void test_generic_composite_moniker(void)
ok_ole_success(hr, IMoniker_IsSystemMoniker);
ok(moniker_type == MKSYS_GENERICCOMPOSITE,
"dwMkSys != MKSYS_GENERICCOMPOSITE, instead was 0x%08lx",
"dwMkSys != MKSYS_GENERICCOMPOSITE, instead was 0x%08lx\n",
moniker_type);
hr = CreateBindCtx(0, &bindctx);

View File

@ -379,7 +379,7 @@ void generate_base_shader(
} else {
TRACE("Found opcode D3D:%s GL:%s, PARAMS:%d, \n",
TRACE("Found opcode D3D:%s GL:%s, PARAMS:%d,\n",
curOpcode->name, curOpcode->glname, curOpcode->num_params);
/* Unless we encounter a no-op command, this opcode is unrecognized */

View File

@ -1425,7 +1425,7 @@ BOOL WINAPI AddMonitorW(LPWSTR pName, DWORD Level, LPBYTE pMonitors)
if (!mi2w->pName || (! mi2w->pName[0])) {
WARN("pName not valid : %s \n", debugstr_w(mi2w->pName));
WARN("pName not valid : %s\n", debugstr_w(mi2w->pName));
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
@ -1437,7 +1437,7 @@ BOOL WINAPI AddMonitorW(LPWSTR pName, DWORD Level, LPBYTE pMonitors)
}
if (!mi2w->pDLLName || (! mi2w->pDLLName[0])) {
WARN("pDLLName not valid : %s \n", debugstr_w(mi2w->pDLLName));
WARN("pDLLName not valid : %s\n", debugstr_w(mi2w->pDLLName));
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}