comctl32/tests: Fix the control's size reporting in an error message.

Francois Gouget fgouget at free.fr
Thu Oct 11 11:33:25 CDT 2007


---
 dlls/comctl32/tests/header.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/tests/header.c b/dlls/comctl32/tests/header.c
index 2069df0..92a5714 100644
--- a/dlls/comctl32/tests/header.c
+++ b/dlls/comctl32/tests/header.c
@@ -1309,7 +1309,7 @@ static void test_customdraw(void)
     GetClientRect(hWndHeader, &rect);
     ok(rect.right - rect.left == 670 && rect.bottom - rect.top == 18,
         "Tests will fail as header size is %dx%d instead of 670x18\n",
-        rect.right - rect.left == 670, rect.bottom - rect.top == 18);
+        rect.right - rect.left, rect.bottom - rect.top);
 
     for (i = 0; i < 3; i++)
     {
-- 
1.5.3.2




More information about the wine-patches mailing list