Frédéric Delanoy : wordpad: Use BOOL type where appropriate.
Module: wine Branch: master Commit: 4ef76cd75c53682638390fd634467a4804a69355 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ef76cd75c53682638390fd634... Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com> Date: Sat Nov 2 14:34:15 2013 +0100 wordpad: Use BOOL type where appropriate. --- programs/wordpad/wordpad.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c index 8468148..9eb0700 100644 --- a/programs/wordpad/wordpad.c +++ b/programs/wordpad/wordpad.c @@ -1154,7 +1154,7 @@ static void dialog_viewproperties(void) static void HandleCommandLine(LPWSTR cmdline) { WCHAR delimiter; - int opt_print = 0; + BOOL opt_print = FALSE; /* skip white space */ while (*cmdline == ' ') cmdline++; @@ -1178,7 +1178,7 @@ static void HandleCommandLine(LPWSTR cmdline) { case 'P': case 'p': - opt_print = 1; + opt_print = TRUE; cmdline += 2; continue; }
participants (1)
-
Alexandre Julliard