=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: user32/tests: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Tue Mar 18 14:15:06 CDT 2014


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Mar 18 08:33:31 2014 +0100

user32/tests: Use BOOL type where appropriate.

---

 dlls/user32/tests/win.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index d693172..69f3270 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -5899,7 +5899,7 @@ static void run_NCRedrawLoop(UINT flags)
     ShowWindow(hwnd, SW_SHOW);
     UpdateWindow(hwnd);
     flush_events( FALSE );
-    while(PeekMessageA(&msg, hwnd, 0, 0, PM_REMOVE) != 0)
+    while (PeekMessageA(&msg, hwnd, 0, 0, PM_REMOVE))
     {
         if (msg.message == WM_PAINT) loopcount++;
         if (loopcount >= 100) break;
@@ -7063,7 +7063,7 @@ static void create_window_tree(HWND parent, HWND *window, int size)
 struct window_attributes
 {
     char class_name[128];
-    int is_visible, is_enabled, is_groupbox, is_httransparent, is_extransparent;
+    BOOL is_visible, is_enabled, is_groupbox, is_httransparent, is_extransparent;
 };
 
 static void get_window_attributes(HWND hwnd, struct window_attributes *attrs)




More information about the wine-cvs mailing list