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

Alexandre Julliard julliard at winehq.org
Tue Oct 22 13:30:41 CDT 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Oct 22 00:16:10 2013 +0200

winhlp32: Use BOOL type where appropriate.

---

 programs/winhlp32/winhelp.c |    4 ++--
 1 files 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;
     }
 }
 




More information about the wine-cvs mailing list