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

Alexandre Julliard julliard at winehq.org
Mon Oct 7 14:17:11 CDT 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Sat Oct  5 08:53:53 2013 +0200

windowscodecs: Use BOOL type where appropriate.

---

 dlls/windowscodecs/info.c |    4 ++--
 1 files 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);
             }




More information about the wine-cvs mailing list