Module: wine Branch: master Commit: b3d07c7846ef2698e1594dd0abb998dcfee60008 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b3d07c7846ef2698e1594dd0ab...
Author: Frédéric Delanoy frederic.delanoy@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) {