windowscodecs: Use BOOL type where appropriate.
This commit is contained in:
parent
1ca0c4a617
commit
cdf809a6c0
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue