summaryrefslogtreecommitdiff
path: root/src/modules/clist/genmenu.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-08 18:13:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-08 18:13:07 +0000
commitb97d1447fc69f57aebb24987068af752f7da7999 (patch)
treee788e13e992fb6718c6cfcd69bc70e91309a53ab /src/modules/clist/genmenu.cpp
parent6c774bd20bdabda5a3c4d8b89b7ae5a7f68ceeaa (diff)
misprint
git-svn-id: http://svn.miranda-ng.org/main/trunk@4394 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/genmenu.cpp')
-rw-r--r--src/modules/clist/genmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/genmenu.cpp b/src/modules/clist/genmenu.cpp
index 47909e8d1b..12424d9ee0 100644
--- a/src/modules/clist/genmenu.cpp
+++ b/src/modules/clist/genmenu.cpp
@@ -653,7 +653,7 @@ PMO_IntMenuItem MO_AddNewMenuItem(HANDLE menuobjecthandle, PMO_MenuItem pmi)
if (hIcolibItem != NULL) {
HICON hIcon = IcoLib_GetIconByHandle(hIcolibItem, false);
p->iconId = ImageList_AddIcon(pmo->m_hMenuIcons, hIcon);
- p->hIcolibItem = pmi->hIcolibItem;
+ p->hIcolibItem = hIcolibItem;
IcoLib_ReleaseIcon(hIcon, 0);
}
else p->iconId = ImageList_AddIcon(pmo->m_hMenuIcons, pmi->hIcon);