winepath: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Fri Oct 11 15:43:03 CDT 2013
---
programs/winepath/winepath.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/winepath/winepath.c b/programs/winepath/winepath.c
index 6e5f58d..ef11a5a 100644
--- a/programs/winepath/winepath.c
+++ b/programs/winepath/winepath.c
@@ -105,7 +105,7 @@ static int parse_options(WCHAR *argv[])
static const WCHAR nullW[] = { 0 };
static const WCHAR *longopts[] = { longW, shortW, unixW, windowsW, helpW, versionW, nullW };
int outputformats = 0;
- int done = 0;
+ BOOL done = FALSE;
int i, j;
for (i = 1; argv[i] && !done; )
@@ -119,7 +119,7 @@ static int parse_options(WCHAR *argv[])
if (argv[i][1] == '-') {
if (argv[i][2] == 0) {
/* '--' end of options */
- done = 1;
+ done = TRUE;
} else {
/* long option */
for (j = 0; longopts[j][0]; j++)
--
1.8.4
More information about the wine-patches
mailing list