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

winepath: Use BOOL type where appropriate.

parent 3e5fecc6
...@@ -105,7 +105,7 @@ static int parse_options(WCHAR *argv[]) ...@@ -105,7 +105,7 @@ static int parse_options(WCHAR *argv[])
static const WCHAR nullW[] = { 0 }; static const WCHAR nullW[] = { 0 };
static const WCHAR *longopts[] = { longW, shortW, unixW, windowsW, helpW, versionW, nullW }; static const WCHAR *longopts[] = { longW, shortW, unixW, windowsW, helpW, versionW, nullW };
int outputformats = 0; int outputformats = 0;
int done = 0; BOOL done = FALSE;
int i, j; int i, j;
for (i = 1; argv[i] && !done; ) for (i = 1; argv[i] && !done; )
...@@ -119,7 +119,7 @@ static int parse_options(WCHAR *argv[]) ...@@ -119,7 +119,7 @@ static int parse_options(WCHAR *argv[])
if (argv[i][1] == '-') { if (argv[i][1] == '-') {
if (argv[i][2] == 0) { if (argv[i][2] == 0) {
/* '--' end of options */ /* '--' end of options */
done = 1; done = TRUE;
} else { } else {
/* long option */ /* long option */
for (j = 0; longopts[j][0]; j++) for (j = 0; longopts[j][0]; j++)
......
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