dlls/shell32/iconcache.c
Ge van Geldorp
gvg at reactos.org
Sat Nov 26 07:52:33 CST 2005
Changelog:
Ge van Geldorp <gvg at reactos.org>
- Load shortcut icon by resource id instead of by icon index
Index: dlls/shell32/iconcache.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/iconcache.c,v
retrieving revision 1.96
diff -u -r1.96 iconcache.c
--- dlls/shell32/iconcache.c 21 Nov 2005 13:35:06 -0000 1.96
+++ dlls/shell32/iconcache.c 26 Nov 2005 13:50:11 -0000
@@ -129,7 +129,10 @@
/* 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)
{
More information about the wine-patches
mailing list