Load shortcut icon by resource id instead of by icon index.
This commit is contained in:
parent
bc09238067
commit
0991687d3c
|
@ -129,7 +129,10 @@ static HICON SIC_OverlayShortcutImage(HICON SourceIcon, BOOL large)
|
|||
|
||||
/* search for the shortcut icon only once */
|
||||
if (s_imgListIdx == -1)
|
||||
s_imgListIdx = SIC_LoadOverlayIcon(29); /* icon index for IDI_SHELL_SHORTCUT */
|
||||
s_imgListIdx = SIC_LoadOverlayIcon(- IDI_SHELL_SHORTCUT);
|
||||
/* FIXME should use icon index 29 instead of the
|
||||
resource id, but not all icons are present yet
|
||||
so we can't use icon indices */
|
||||
|
||||
if (s_imgListIdx != -1)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue