windowscodecs: Use BOOL type where appropriate.

oldstable
Frédéric Delanoy 2013-10-05 08:53:53 +02:00 committed by Alexandre Julliard
parent 1ca0c4a617
commit cdf809a6c0
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}