Module: wine Branch: master Commit: 0b977adc67e0e1e6277e3544b1c960fbbdf1974f URL: http://source.winehq.org/git/wine.git/?a=commit;h=0b977adc67e0e1e6277e3544b1...
Author: Frédéric Delanoy frederic.delanoy@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); }