rundll32: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Wed Feb 5 16:39:59 CST 2014


---
 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) {
-- 
1.8.5.2




More information about the wine-patches mailing list