itss: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Wed Oct 2 17:08:56 CDT 2013
---
dlls/itss/chm_lib.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/itss/chm_lib.c b/dlls/itss/chm_lib.c
index c9bbcdf..c1be36e 100644
--- a/dlls/itss/chm_lib.c
+++ b/dlls/itss/chm_lib.c
@@ -1424,8 +1424,8 @@ int chm_enumerate_dir(struct chmFile *h,
UChar *cur;
unsigned int lenRemain;
- /* set to 1 once we've started */
- int it_has_begun=0;
+ /* set to TRUE once we've started */
+ BOOL it_has_begun = FALSE;
/* the current ui */
struct chmUnitInfo ui;
@@ -1493,7 +1493,7 @@ int chm_enumerate_dir(struct chmFile *h,
if (! it_has_begun)
{
if (ui.length == 0 && strncmpiW(ui.path, prefixRectified, prefixLen) == 0)
- it_has_begun = 1;
+ it_has_begun = TRUE;
else
continue;
--
1.8.4
More information about the wine-patches
mailing list