Module: wine Branch: master Commit: 6021107afd4e92ef3c347d9ef40d32e9d73689de URL: http://source.winehq.org/git/wine.git/?a=commit;h=6021107afd4e92ef3c347d9ef4...
Author: Frédéric Delanoy frederic.delanoy@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; }