=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: notepad: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Thu Feb 27 14:49:24 CST 2014


Module: wine
Branch: master
Commit: dc8b11e6f4fc74230ed39981b12089184fa15102
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dc8b11e6f4fc74230ed39981b12089184fa15102

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Thu Feb 27 15:33:26 2014 +0100

notepad: Use BOOL type where appropriate.

---

 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;
         }
     }




More information about the wine-cvs mailing list