summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/svcs_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/src/svcs_menu.cpp')
-rw-r--r--plugins/MirOTR/src/svcs_menu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirOTR/src/svcs_menu.cpp b/plugins/MirOTR/src/svcs_menu.cpp
index 2bd606c90e..585463f2bd 100644
--- a/plugins/MirOTR/src/svcs_menu.cpp
+++ b/plugins/MirOTR/src/svcs_menu.cpp
@@ -158,19 +158,19 @@ void InitMenu()
CreateServiceFunction(MS_OTR_MENUVERIFY, SVC_VerifyOTR);
CreateServiceFunction(MS_OTR_MENUTOGGLEHTML, SVC_ToggleHTMLOTR);
- CLISTMENUITEM mi = { 0 };
+ TMO_MenuItem mi = { 0 };
mi.flags = CMIF_NOTOFFLINE | CMIF_TCHAR;
mi.position = -400000;
mi.name.t = _T(LANG_STOP_OTR);
mi.pszService = MS_OTR_MENUSTOP;
- mi.icolibItem = IcoLib_GetIconHandle(ICON_PRIVATE);
+ mi.hIcolibItem = IcoLib_GetIconHandle(ICON_PRIVATE);
hStopItem = Menu_AddContactMenuItem(&mi);
mi.name.t = _T(LANG_START_OTR);
mi.pszService = MS_OTR_MENUSTART;
- mi.icolibItem = IcoLib_GetIconHandle(ICON_NOT_PRIVATE);
+ mi.hIcolibItem = IcoLib_GetIconHandle(ICON_NOT_PRIVATE);
hStartItem = Menu_AddContactMenuItem(&mi);