Add trailing '\n's to ok() calls (comctl32/tests/tab.c)
Francois Gouget
fgouget at free.fr
Sun Jan 18 17:18:22 CST 2004
Changelog:
* dlls/comctl32/tests/tab.c
Add trailing '\n's to ok() calls.
Index: dlls/comctl32/tests/tab.c
===================================================================
RCS file: /home/cvs/wine/dlls/comctl32/tests/tab.c,v
retrieving revision 1.2
diff -u -r1.2 tab.c
--- dlls/comctl32/tests/tab.c 2 Dec 2003 03:31:44 -0000 1.2
+++ dlls/comctl32/tests/tab.c 17 Jan 2004 10:36:24 -0000
@@ -86,13 +86,13 @@
/* trace ("Got (%ld,%ld)-(%ld,%ld)", rTab.left, rTab.top, rTab.right, rTab.bottom); */
trace (" (%ld,%ld)-(%ld,%ld)\n", r1.left, r1.top, r1.right, r1.bottom);
if ((width >= 0) && (height < 0))
- ok (width == rTab.right - rTab.left, "Expected [%d] got [%ld]", width, rTab.right - rTab.left);
+ ok (width == rTab.right - rTab.left, "Expected [%d] got [%ld]\n", width, rTab.right - rTab.left);
else if ((height >= 0) && (width < 0))
- ok (height == rTab.bottom - rTab.top, "Expected [%d] got [%ld]", height, rTab.bottom - rTab.top);
+ ok (height == rTab.bottom - rTab.top, "Expected [%d] got [%ld]\n", height, rTab.bottom - rTab.top);
else
ok ((width == rTab.right - rTab.left) &&
(height == rTab.bottom - rTab.top ),
- "Expected [%d,%d] got [%ld,%ld]", width, height, rTab.right - rTab.left, rTab.bottom - rTab.top);
+ "Expected [%d,%d] got [%ld,%ld]\n", width, height, rTab.right - rTab.left, rTab.bottom - rTab.top);
}
void TabCheckSetSize(HWND hwnd, INT SetWidth, INT SetHeight, INT ExpWidth, INT ExpHeight)
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
The nice thing about meditation is that it makes doing nothing quite respectable
-- Paul Dean
More information about the wine-patches
mailing list