shell32: return boolean values

André Hentschel nerv at dawncrow.de
Fri Apr 23 07:19:09 CDT 2010


---
 dlls/shell32/pidl.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c
index 99bbed8..6f4b082 100644
--- a/dlls/shell32/pidl.c
+++ b/dlls/shell32/pidl.c
@@ -218,9 +218,9 @@ BOOL WINAPI ILRemoveLastID(LPITEMIDLIST pidl)
     TRACE_(shell)("pidl=%p\n",pidl);
 
     if (!pidl || !pidl->mkid.cb)
-        return 0;
+        return FALSE;
     ILFindLastID(pidl)->mkid.cb = 0;
-    return 1;
+    return TRUE;
 }
 
 /*************************************************************************
@@ -1674,7 +1674,7 @@ BOOL _ILIsDesktop(LPCITEMIDLIST pidl)
 {
     TRACE("(%p)\n",pidl);
 
-    return pidl && pidl->mkid.cb  ? 0 : 1;
+    return pidl && pidl->mkid.cb  ? FALSE : TRUE;
 }
 
 BOOL _ILIsMyComputer(LPCITEMIDLIST pidl)
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list