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

Alexandre Julliard julliard at winehq.org
Thu Feb 6 13:25:30 CST 2014


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Wed Feb  5 23:39:59 2014 +0100

rundll32: Use BOOL type where appropriate.

---

 programs/rundll32/rundll32.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/programs/rundll32/rundll32.c b/programs/rundll32/rundll32.c
index 53508c9..ec0ae59 100644
--- a/programs/rundll32/rundll32.c
+++ b/programs/rundll32/rundll32.c
@@ -164,11 +164,12 @@ static LPWSTR get_next_arg(LPWSTR *cmdline)
 {
     LPWSTR s;
     LPWSTR arg,d;
-    int in_quotes,bcount,len=0;
+    BOOL in_quotes;
+    int bcount,len=0;
 
     /* count the chars */
     bcount=0;
-    in_quotes=0;
+    in_quotes=FALSE;
     s=*cmdline;
     while (1) {
         if (*s==0 || ((*s=='\t' || *s==' ') && !in_quotes)) {
@@ -193,7 +194,7 @@ static LPWSTR get_next_arg(LPWSTR *cmdline)
         return NULL;
 
     bcount=0;
-    in_quotes=0;
+    in_quotes=FALSE;
     d=arg;
     s=*cmdline;
     while (*s) {




More information about the wine-cvs mailing list