summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/svcs_menu.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-07 15:53:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-07 15:53:20 +0300
commita714fa356e4d6dd8c6169ef4123fea167371a1f9 (patch)
tree8c71762fdd2285a83f30a033b6ee2190e98ae69b /plugins/MirOTR/src/svcs_menu.cpp
parente43e5e9e3ff94b20953c840a819952e4221654fa (diff)
OTR:
- icolib icons support rewritten more transparently; - fix for the wrong icon in menu
Diffstat (limited to 'plugins/MirOTR/src/svcs_menu.cpp')
-rw-r--r--plugins/MirOTR/src/svcs_menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirOTR/src/svcs_menu.cpp b/plugins/MirOTR/src/svcs_menu.cpp
index c05fb30cdc..474d3d9dfe 100644
--- a/plugins/MirOTR/src/svcs_menu.cpp
+++ b/plugins/MirOTR/src/svcs_menu.cpp
@@ -163,13 +163,13 @@ void InitMenu()
SET_UID(mi, 0xAB574FAD, 0x15D8, 0x49FF, 0xB7, 0x03, 0xDA, 0x2B, 0x45, 0x46, 0xC3, 0x56);
mi.name.w = _A2W(LANG_STOP_OTR);
mi.pszService = MS_OTR_MENUSTOP;
- mi.hIcolibItem = IcoLib_GetIconHandle(ICON_PRIVATE);
+ mi.hIcolibItem = iconList[ICON_PRIVATE].hIcolib;
hStopItem = Menu_AddContactMenuItem(&mi);
mi.uid.d[7]++;
mi.name.w = _A2W(LANG_START_OTR);
mi.pszService = MS_OTR_MENUSTART;
- mi.hIcolibItem = IcoLib_GetIconHandle(ICON_NOT_PRIVATE);
+ mi.hIcolibItem = iconList[ICON_NOT_PRIVATE].hIcolib;
hStartItem = Menu_AddContactMenuItem(&mi);
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, SVC_PrebuildContactMenu);