Sync to Wine-0_9_3:
[reactos.git] / reactos / lib / shell32 / iconcache.c
index 3efefcf..0008f34 100644 (file)
@@ -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(-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)
        {