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

Alexandre Julliard julliard at winehq.org
Thu Nov 14 13:57:10 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Thu Nov 14 10:44:27 2013 +0100

comctl32/tests: Use BOOL type where appropriate.

---

 dlls/comctl32/tests/imagelist.c |    4 ++--
 1 files 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 */




More information about the wine-cvs mailing list