Commit b3d07c78 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

rundll32: Use BOOL type where appropriate.

parent dad9dc94
...@@ -164,11 +164,12 @@ static LPWSTR get_next_arg(LPWSTR *cmdline) ...@@ -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) ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment