diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-07 15:53:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-07 15:53:20 +0300 |
commit | a714fa356e4d6dd8c6169ef4123fea167371a1f9 (patch) | |
tree | 8c71762fdd2285a83f30a033b6ee2190e98ae69b /plugins/MirOTR/src/svcs_menu.cpp | |
parent | e43e5e9e3ff94b20953c840a819952e4221654fa (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.cpp | 4 |
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); |