From 6a731923f3d42fd57a66e85e4ae07ce6500aa8ed Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Tue, 12 May 2015 10:11:31 +0000 Subject: [PATCH] =?UTF-8?q?[NOTEPAD]=20Apply=20Wine=20commit=20dc8b11e=20b?= =?UTF-8?q?y=20Fr=C3=A9d=C3=A9ric=20Delanoy:=20Use=20BOOL=20type=20where?= =?UTF-8?q?=20appropriate.=20CORE-9371?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=67677 --- reactos/base/applications/notepad/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/base/applications/notepad/main.c b/reactos/base/applications/notepad/main.c index 46235a35278..9398f08a670 100644 --- a/reactos/base/applications/notepad/main.c +++ b/reactos/base/applications/notepad/main.c @@ -493,7 +493,7 @@ static int AlertFileDoesNotExist(LPCTSTR szFileName) static BOOL HandleCommandLine(LPTSTR cmdline) { - int opt_print = 0; + BOOL opt_print = FALSE; while (*cmdline == _T(' ') || *cmdline == _T('-') || *cmdline == _T('/')) { @@ -509,7 +509,7 @@ static BOOL HandleCommandLine(LPTSTR cmdline) { case 'p': case 'P': - opt_print = 1; + opt_print = TRUE; break; } }