rundll32: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2014-02-05 23:39:59 +01:00 committed by Alexandre Julliard
parent dad9dc941f
commit b3d07c7846

View file

@ -164,11 +164,12 @@ static LPWSTR get_next_arg(LPWSTR *cmdline)
{ {
LPWSTR s; LPWSTR s;
LPWSTR arg,d; LPWSTR arg,d;
int in_quotes,bcount,len=0; BOOL in_quotes;
int bcount,len=0;
/* count the chars */ /* count the chars */
bcount=0; bcount=0;
in_quotes=0; in_quotes=FALSE;
s=*cmdline; s=*cmdline;
while (1) { while (1) {
if (*s==0 || ((*s=='\t' || *s==' ') && !in_quotes)) { if (*s==0 || ((*s=='\t' || *s==' ') && !in_quotes)) {
@ -193,7 +194,7 @@ static LPWSTR get_next_arg(LPWSTR *cmdline)
return NULL; return NULL;
bcount=0; bcount=0;
in_quotes=0; in_quotes=FALSE;
d=arg; d=arg;
s=*cmdline; s=*cmdline;
while (*s) { while (*s) {