=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: winefile: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Thu Oct 17 13:51:49 CDT 2013
Module: wine
Branch: master
Commit: 0b977adc67e0e1e6277e3544b1c960fbbdf1974f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0b977adc67e0e1e6277e3544b1c960fbbdf1974f
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Wed Oct 16 23:38:34 2013 +0200
winefile: Use BOOL type where appropriate.
---
programs/winefile/winefile.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c
index 4729436..c85d1ac 100644
--- a/programs/winefile/winefile.c
+++ b/programs/winefile/winefile.c
@@ -2695,7 +2695,7 @@ static void create_tree_window(HWND parent, Pane* pane, UINT id, UINT id_header,
{
static const WCHAR sListBox[] = {'L','i','s','t','B','o','x','\0'};
- static int s_init = 0;
+ static BOOL s_init = FALSE;
Entry* entry = pane->root;
pane->hwnd = CreateWindowW(sListBox, sEmpty, WS_CHILD|WS_VISIBLE|WS_HSCROLL|WS_VSCROLL|
@@ -2713,7 +2713,7 @@ static void create_tree_window(HWND parent, Pane* pane, UINT id, UINT id_header,
/* calculate column widths */
if (!s_init) {
- s_init = 1;
+ s_init = TRUE;
init_output(pane->hwnd);
}
More information about the wine-cvs
mailing list