mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 18:01:07 +00:00
[SHELL32] HCR_GetIconA(): Properly use icon_idx (#2482)
CORE-11713
Import
7cc2806e0e
This commit is contained in:
parent
78d8705181
commit
07efa2ef53
|
@ -332,7 +332,12 @@ BOOL HCR_GetIconA(LPCSTR szClass, LPSTR szDest, LPCSTR szName, DWORD len, int* p
|
||||||
ret = HCR_RegGetIconA(hkey, szDest, szName, len, picon_idx);
|
ret = HCR_RegGetIconA(hkey, szDest, szName, len, picon_idx);
|
||||||
RegCloseKey(hkey);
|
RegCloseKey(hkey);
|
||||||
}
|
}
|
||||||
TRACE("-- %s %i\n", szDest, *picon_idx);
|
|
||||||
|
if (ret)
|
||||||
|
TRACE("-- %s %i\n", szDest, *picon_idx);
|
||||||
|
else
|
||||||
|
TRACE("-- not found\n");
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue