windowscodecs: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Sat Oct 5 01:53:53 CDT 2013


---
 dlls/windowscodecs/info.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/windowscodecs/info.c b/dlls/windowscodecs/info.c
index 7c87c5d..5f42994 100644
--- a/dlls/windowscodecs/info.c
+++ b/dlls/windowscodecs/info.c
@@ -1771,7 +1771,7 @@ HRESULT CreateComponentInfo(REFCLSID clsid, IWICComponentInfo **ppIInfo)
     WCHAR guidstring[39];
     LONG res;
     const struct category *category;
-    int found=0;
+    BOOL found = FALSE;
     HRESULT hr;
 
     res = RegOpenKeyExW(HKEY_CLASSES_ROOT, clsid_keyname, 0, KEY_READ, &clsidkey);
@@ -1792,7 +1792,7 @@ HRESULT CreateComponentInfo(REFCLSID clsid, IWICComponentInfo **ppIInfo)
                 if (res == ERROR_SUCCESS)
                 {
                     RegCloseKey(classkey);
-                    found = 1;
+                    found = TRUE;
                 }
                 RegCloseKey(instancekey);
             }
-- 
1.8.4




More information about the wine-patches mailing list