shell32: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Mon Nov 18 18:05:57 CST 2013


---
 dlls/shell32/classes.c | 4 ++--
 1 file 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;
     }
-- 
1.8.4.3




More information about the wine-patches mailing list