user32/tests: Don't compare boolean expressions with TRUE or FALSE

Frédéric Delanoy frederic.delanoy at gmail.com
Fri Jan 31 04:12:53 CST 2014


---
 dlls/user32/tests/win.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index c26ce16..7effde8 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -5886,7 +5886,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;
-- 
1.8.5.2




More information about the wine-patches mailing list