notepad: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Thu Feb 27 08:33:26 CST 2014


---
 programs/notepad/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/programs/notepad/main.c b/programs/notepad/main.c
index 235981f..5c465ca 100644
--- a/programs/notepad/main.c
+++ b/programs/notepad/main.c
@@ -616,8 +616,8 @@ static int AlertFileDoesNotExist(LPCWSTR szFileName)
 static void HandleCommandLine(LPWSTR cmdline)
 {
     WCHAR delimiter;
-    int opt_print=0;
-    
+    BOOL opt_print = FALSE;
+
     /* skip white space */
     while (*cmdline == ' ') cmdline++;
 
@@ -644,7 +644,7 @@ static void HandleCommandLine(LPWSTR cmdline)
         {
             case 'p':
             case 'P':
-                opt_print=1;
+                opt_print = TRUE;
                 break;
         }
     }
-- 
1.9.0




More information about the wine-patches mailing list