mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
[SHELL32] HCR_GetIconA(): Properly use icon_idx (#2482)
CORE-11713 Import https://source.winehq.org/git/wine.git/commit/7cc2806e0e0d97c0df93e2695351a4d3a3c72254
This commit is contained in:
@@ -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);
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user