comctl32/tests: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Thu Nov 14 03:44:27 CST 2013


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

diff --git a/dlls/comctl32/tests/imagelist.c b/dlls/comctl32/tests/imagelist.c
index 0ea27f6..e11ee1d 100644
--- a/dlls/comctl32/tests/imagelist.c
+++ b/dlls/comctl32/tests/imagelist.c
@@ -134,7 +134,7 @@ static HWND create_a_window(void)
     char className[] = "bmwnd";
     char winName[]   = "Test Bitmap";
     HWND hWnd;
-    static int registered = 0;
+    static BOOL registered = FALSE;
 
     if (!registered)
     {
@@ -152,7 +152,7 @@ static HWND create_a_window(void)
         cls.lpszClassName = className;
 
         RegisterClassA (&cls);
-        registered = 1;
+        registered = TRUE;
     }
 
     /* Setup window */
-- 
1.8.4.2




More information about the wine-patches mailing list