=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: itss: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Thu Oct 3 15:18:01 CDT 2013


Module: wine
Branch: master
Commit: 239c160452dd8494a739b3bf9074a1539504b4aa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=239c160452dd8494a739b3bf9074a1539504b4aa

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Thu Oct  3 00:08:56 2013 +0200

itss: Use BOOL type where appropriate.

---

 dlls/itss/chm_lib.c |    6 +++---
 1 files 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;
 




More information about the wine-cvs mailing list