Add trailing '\n's to ok() calls.

Remove spaces before '\n'.
This commit is contained in:
Francois Gouget 2006-06-15 17:41:17 +02:00 committed by Alexandre Julliard
parent 11ae0f6386
commit 9eb81363ad
5 changed files with 12 additions and 12 deletions

View File

@ -154,7 +154,7 @@ static void test_missing_light_recording(IDirect3DDevice9 *device_ptr)
hret = IDirect3DDevice9_GetLightEnable(device_ptr, 0, &result_light_enable); hret = IDirect3DDevice9_GetLightEnable(device_ptr, 0, &result_light_enable);
ok(hret == D3D_OK, "GetLightEnable returned: hret 0x%lx. Expected hret 0x%lx. Aborting.\n", hret, D3D_OK); ok(hret == D3D_OK, "GetLightEnable returned: hret 0x%lx. Expected hret 0x%lx. Aborting.\n", hret, D3D_OK);
if (hret != D3D_OK) goto cleanup; if (hret != D3D_OK) goto cleanup;
ok(result_light_enable == 0, "Light enabled status was %u, instead of 0", result_light_enable); ok(result_light_enable == 0, "Light enabled status was %u, instead of 0\n", result_light_enable);
hret = IDirect3DDevice9_GetLight(device_ptr, 0, &result_light); hret = IDirect3DDevice9_GetLight(device_ptr, 0, &result_light);
ok(hret == D3D_OK, "GetLight returned: hret 0x%lx. Expected hret 0x%lx. Aborting.\n", hret, D3D_OK); ok(hret == D3D_OK, "GetLight returned: hret 0x%lx. Expected hret 0x%lx. Aborting.\n", hret, D3D_OK);

View File

@ -806,7 +806,7 @@ static void test_EM_SETUNDOLIMIT()
SendMessage(hwndRichEdit,EM_EMPTYUNDOBUFFER, 0,0); SendMessage(hwndRichEdit,EM_EMPTYUNDOBUFFER, 0,0);
result = SendMessage(hwndRichEdit, EM_SETUNDOLIMIT, -1, 0); result = SendMessage(hwndRichEdit, EM_SETUNDOLIMIT, -1, 0);
ok (result == 100, ok (result == 100,
"EM_SETUNDOLIMIT returned %d when set to -1, instead of 100",result); "EM_SETUNDOLIMIT returned %d when set to -1, instead of 100\n",result);
DestroyWindow(hwndRichEdit); DestroyWindow(hwndRichEdit);
} }

View File

@ -189,7 +189,7 @@ static void test_CloseThemeData(void)
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
hRes = pCloseThemeData(NULL); hRes = pCloseThemeData(NULL);
ok( hRes == E_HANDLE, "Expected E_HANDLE, got 0x%08lx", hRes); ok( hRes == E_HANDLE, "Expected E_HANDLE, got 0x%08lx\n", hRes);
ok( GetLastError() == 0xdeadbeef, ok( GetLastError() == 0xdeadbeef,
"Expected 0xdeadbeef, got 0x%08lx\n", "Expected 0xdeadbeef, got 0x%08lx\n",
GetLastError()); GetLastError());

View File

@ -4906,19 +4906,19 @@ process_vertices_strided(IWineD3DDeviceImpl *This, DWORD dwDestIndex, DWORD dwCo
D3DTS_WORLDMATRIX(0), D3DTS_WORLDMATRIX(0),
&world_mat); &world_mat);
TRACE("View mat: \n"); TRACE("View mat:\n");
TRACE("%f %f %f %f\n", view_mat.u.s._11, view_mat.u.s._12, view_mat.u.s._13, view_mat.u.s._14); \ TRACE("%f %f %f %f\n", view_mat.u.s._11, view_mat.u.s._12, view_mat.u.s._13, view_mat.u.s._14); \
TRACE("%f %f %f %f\n", view_mat.u.s._21, view_mat.u.s._22, view_mat.u.s._23, view_mat.u.s._24); \ TRACE("%f %f %f %f\n", view_mat.u.s._21, view_mat.u.s._22, view_mat.u.s._23, view_mat.u.s._24); \
TRACE("%f %f %f %f\n", view_mat.u.s._31, view_mat.u.s._32, view_mat.u.s._33, view_mat.u.s._34); \ TRACE("%f %f %f %f\n", view_mat.u.s._31, view_mat.u.s._32, view_mat.u.s._33, view_mat.u.s._34); \
TRACE("%f %f %f %f\n", view_mat.u.s._41, view_mat.u.s._42, view_mat.u.s._43, view_mat.u.s._44); \ TRACE("%f %f %f %f\n", view_mat.u.s._41, view_mat.u.s._42, view_mat.u.s._43, view_mat.u.s._44); \
TRACE("Proj mat: \n"); TRACE("Proj mat:\n");
TRACE("%f %f %f %f\n", proj_mat.u.s._11, proj_mat.u.s._12, proj_mat.u.s._13, proj_mat.u.s._14); \ TRACE("%f %f %f %f\n", proj_mat.u.s._11, proj_mat.u.s._12, proj_mat.u.s._13, proj_mat.u.s._14); \
TRACE("%f %f %f %f\n", proj_mat.u.s._21, proj_mat.u.s._22, proj_mat.u.s._23, proj_mat.u.s._24); \ TRACE("%f %f %f %f\n", proj_mat.u.s._21, proj_mat.u.s._22, proj_mat.u.s._23, proj_mat.u.s._24); \
TRACE("%f %f %f %f\n", proj_mat.u.s._31, proj_mat.u.s._32, proj_mat.u.s._33, proj_mat.u.s._34); \ TRACE("%f %f %f %f\n", proj_mat.u.s._31, proj_mat.u.s._32, proj_mat.u.s._33, proj_mat.u.s._34); \
TRACE("%f %f %f %f\n", proj_mat.u.s._41, proj_mat.u.s._42, proj_mat.u.s._43, proj_mat.u.s._44); \ TRACE("%f %f %f %f\n", proj_mat.u.s._41, proj_mat.u.s._42, proj_mat.u.s._43, proj_mat.u.s._44); \
TRACE("World mat: \n"); TRACE("World mat:\n");
TRACE("%f %f %f %f\n", world_mat.u.s._11, world_mat.u.s._12, world_mat.u.s._13, world_mat.u.s._14); \ TRACE("%f %f %f %f\n", world_mat.u.s._11, world_mat.u.s._12, world_mat.u.s._13, world_mat.u.s._14); \
TRACE("%f %f %f %f\n", world_mat.u.s._21, world_mat.u.s._22, world_mat.u.s._23, world_mat.u.s._24); \ TRACE("%f %f %f %f\n", world_mat.u.s._21, world_mat.u.s._22, world_mat.u.s._23, world_mat.u.s._24); \
TRACE("%f %f %f %f\n", world_mat.u.s._31, world_mat.u.s._32, world_mat.u.s._33, world_mat.u.s._34); \ TRACE("%f %f %f %f\n", world_mat.u.s._31, world_mat.u.s._32, world_mat.u.s._33, world_mat.u.s._34); \

View File

@ -469,7 +469,7 @@ static void mw_PrintSetup(HWND hWnd)
#define OF(fn, fi, fl) \ #define OF(fn, fi, fl) \
if(dm->dmFields & fl){ \ if(dm->dmFields & fl){ \
WINE_TRACE(" %s =%hd \n", (fn), dm->fi); \ WINE_TRACE(" %s =%hd\n", (fn), dm->fi); \
} else \ } else \
WINE_TRACE(" %s NOT SET!\n", fn); WINE_TRACE(" %s NOT SET!\n", fn);
@ -488,11 +488,11 @@ static void mw_PageSetup(HWND hWnd)
dm = GlobalLock(psd.hDevMode); dm = GlobalLock(psd.hDevMode);
if(dm) { if(dm) {
WINE_TRACE("dm != NULL\nDEVMODEA struct:\n"); WINE_TRACE("dm != NULL\nDEVMODEA struct:\n");
WINE_TRACE(" dmDeviceName ='%s' \n", dm->dmDeviceName); WINE_TRACE(" dmDeviceName ='%s'\n", dm->dmDeviceName);
WINE_TRACE(" dmSpecVersion =%#x \n", dm->dmSpecVersion); WINE_TRACE(" dmSpecVersion =%#x\n", dm->dmSpecVersion);
WINE_TRACE(" dmDriverVersion =%#x \n", dm->dmDriverVersion); WINE_TRACE(" dmDriverVersion =%#x\n", dm->dmDriverVersion);
WINE_TRACE(" dmSize =%#x \n", dm->dmSize); WINE_TRACE(" dmSize =%#x\n", dm->dmSize);
WINE_TRACE(" dmDriverExtra =%#x \n", dm->dmDriverExtra); WINE_TRACE(" dmDriverExtra =%#x\n", dm->dmDriverExtra);
WINE_TRACE(" dmFields =%#lx\n", dm->dmFields); WINE_TRACE(" dmFields =%#lx\n", dm->dmFields);
OF("dmOrientation", u1.s1.dmOrientation, DM_ORIENTATION) OF("dmOrientation", u1.s1.dmOrientation, DM_ORIENTATION)
OF("dmPaperSize", u1.s1.dmPaperSize, DM_PAPERSIZE); OF("dmPaperSize", u1.s1.dmPaperSize, DM_PAPERSIZE);