Commit 0991687d authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard

Load shortcut icon by resource id instead of by icon index.

parent bc092380
...@@ -129,7 +129,10 @@ static HICON SIC_OverlayShortcutImage(HICON SourceIcon, BOOL large) ...@@ -129,7 +129,10 @@ static HICON SIC_OverlayShortcutImage(HICON SourceIcon, BOOL large)
/* search for the shortcut icon only once */ /* search for the shortcut icon only once */
if (s_imgListIdx == -1) 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) if (s_imgListIdx != -1)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment