wine/dlls/shell32 iconcache.c
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 28 05:02:32 CST 2005
ChangeSet ID: 21466
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard at winehq.org 2005/11/28 05:02:32
Modified files:
dlls/shell32 : iconcache.c
Log message:
Ge van Geldorp <gvg at reactos.org>
Load shortcut icon by resource id instead of by icon index.
Patch: http://cvs.winehq.org/patch.py?id=21466
Old revision New revision Changes Path
1.96 1.97 +4 -1 wine/dlls/shell32/iconcache.c
Index: wine/dlls/shell32/iconcache.c
diff -u -p wine/dlls/shell32/iconcache.c:1.96 wine/dlls/shell32/iconcache.c:1.97
--- wine/dlls/shell32/iconcache.c:1.96 28 Nov 2005 11: 2:32 -0000
+++ wine/dlls/shell32/iconcache.c 28 Nov 2005 11: 2:32 -0000
@@ -129,7 +129,10 @@ static HICON SIC_OverlayShortcutImage(HI
/* 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-cvs
mailing list