Author: akhaldi
Date: Tue May 12 10:11:31 2015
New Revision: 67677
URL:
http://svn.reactos.org/svn/reactos?rev=67677&view=rev
Log:
[NOTEPAD] Apply Wine commit dc8b11e by Frédéric Delanoy: Use BOOL type where appropriate.
CORE-9371
Modified:
trunk/reactos/base/applications/notepad/main.c
Modified: trunk/reactos/base/applications/notepad/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
==============================================================================
--- trunk/reactos/base/applications/notepad/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/notepad/main.c [iso-8859-1] Tue May 12 10:11:31 2015
@@ -493,7 +493,7 @@
static BOOL HandleCommandLine(LPTSTR cmdline)
{
- int opt_print = 0;
+ BOOL opt_print = FALSE;
while (*cmdline == _T(' ') || *cmdline == _T('-') || *cmdline ==
_T('/'))
{
@@ -509,7 +509,7 @@
{
case 'p':
case 'P':
- opt_print = 1;
+ opt_print = TRUE;
break;
}
}