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

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


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

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

start: Use BOOL type where appropriate.

---

 programs/start/start.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/programs/start/start.c b/programs/start/start.c
index a27aad7..7bf8ea8 100644
--- a/programs/start/start.c
+++ b/programs/start/start.c
@@ -181,8 +181,8 @@ int wmain (int argc, WCHAR *argv[])
 	DWORD creation_flags;
 	WCHAR *args = NULL;
 	int i;
-	int unix_mode = 0;
-	int progid_open = 0;
+        BOOL unix_mode = FALSE;
+        BOOL progid_open = FALSE;
 	WCHAR *title = NULL;
 	WCHAR *dos_filename = NULL;
 	WCHAR *parent_directory = NULL;
@@ -313,10 +313,10 @@ int wmain (int argc, WCHAR *argv[])
 		/* Wine extensions */
 
 		else if (is_option(argv[i], unixW)) {
-			unix_mode = 1;
+                        unix_mode = TRUE;
 		}
 		else if (is_option(argv[i], progIDOpenW)) {
-			progid_open = 1;
+                        progid_open = TRUE;
 		} else
 
 		{




More information about the wine-cvs mailing list