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

Alexandre Julliard julliard at winehq.org
Fri Oct 12 05:22:56 CDT 2007


Module: wine
Branch: master
Commit: c76362afdd2ea6c42b8fbb7a8da063e00b8f80e4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c76362afdd2ea6c42b8fbb7a8da063e00b8f80e4

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Oct 11 18:33:25 2007 +0200

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

---

 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++)
     {




More information about the wine-cvs mailing list