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

Alexandre Julliard julliard at winehq.org
Tue Nov 19 13:28:35 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Nov 19 01:05:57 2013 +0100

shell32: Use BOOL type where appropriate.

---

 dlls/shell32/classes.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/classes.c b/dlls/shell32/classes.c
index 70abfe6..316abd5 100644
--- a/dlls/shell32/classes.c
+++ b/dlls/shell32/classes.c
@@ -424,10 +424,10 @@ BOOL HCR_GetFolderAttributes(LPCITEMIDLIST pidlFolder, LPDWORD pdwAttributes)
     TRACE("(pidlFolder=%p, pdwAttributes=%p)\n", pidlFolder, pdwAttributes);
        
     if (!_ILIsPidlSimple(pidlFolder)) { 
-        static int firstHit = 1;
+        static BOOL firstHit = TRUE;
         if (firstHit) {
             ERR("should be called for simple PIDL's only!\n");
-            firstHit = 0;
+            firstHit = FALSE;
         }
         return FALSE;
     }




More information about the wine-cvs mailing list