=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: winepath: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Mon Oct 14 12:39:27 CDT 2013
Module: wine
Branch: master
Commit: 101e7d3ee69aa9abf1f826424d14104e10781bad
URL: http://source.winehq.org/git/wine.git/?a=commit;h=101e7d3ee69aa9abf1f826424d14104e10781bad
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Fri Oct 11 22:43:03 2013 +0200
winepath: Use BOOL type where appropriate.
---
programs/winepath/winepath.c | 4 ++--
1 files 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++)
More information about the wine-cvs
mailing list