winhlp32: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Mon Oct 21 17:16:10 CDT 2013


---
 programs/winhlp32/winhelp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c
index 3a421da..cb1ac55 100644
--- a/programs/winhlp32/winhelp.c
+++ b/programs/winhlp32/winhelp.c
@@ -70,7 +70,7 @@ static void WINHELP_InitFonts(HWND hWnd)
 #define FONTS_LEN (sizeof(logfontlist)/sizeof(*logfontlist))
 
     static HFONT fonts[FONTS_LEN];
-    static BOOL init = 0;
+    static BOOL init = FALSE;
 
     win->fonts_len = FONTS_LEN;
     win->fonts = fonts;
@@ -84,7 +84,7 @@ static void WINHELP_InitFonts(HWND hWnd)
             fonts[i] = CreateFontIndirectW(&logfontlist[i]);
 	}
 
-        init = 1;
+        init = TRUE;
     }
 }
 
-- 
1.8.4




More information about the wine-patches mailing list