user32/tests: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Tue Mar 18 02:33:31 CDT 2014
---
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)
--
1.9.0
More information about the wine-patches
mailing list