diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-13 15:33:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-13 15:33:14 +0300 |
commit | b1b4129a590b328d9fe3792d1a266bd4128ac57e (patch) | |
tree | c319e18a206b55f0f206e14e6551e5187f8e25ee /plugins/MirOTR/src/svcs_menu.cpp | |
parent | 35b895bb4d280991cf172c89ab61010edb36e31d (diff) |
MirOTR: fix for swapped icons
Diffstat (limited to 'plugins/MirOTR/src/svcs_menu.cpp')
-rw-r--r-- | plugins/MirOTR/src/svcs_menu.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/plugins/MirOTR/src/svcs_menu.cpp b/plugins/MirOTR/src/svcs_menu.cpp index 474d3d9dfe..2665554707 100644 --- a/plugins/MirOTR/src/svcs_menu.cpp +++ b/plugins/MirOTR/src/svcs_menu.cpp @@ -1,10 +1,8 @@ #include "stdafx.h" -static HGENMENU hStopItem, hStartItem; +///////////////////////////////////////////////////////////////////////////////////////// +// Menu Services -//////////////////////////////// -///////// Menu Services //////// -/////////////////////////////// int StartOTR(MCONTACT hContact) { const char *proto = GetContactProto(hContact); @@ -148,6 +146,11 @@ INT_PTR SVC_ToggleHTMLOTR(WPARAM hContact, LPARAM) return 0; } +///////////////////////////////////////////////////////////////////////////////////////// +// module entry point + +static HGENMENU hStopItem, hStartItem; + void InitMenu() { CreateServiceFunction(MS_OTR_MENUSTART, SVC_StartOTR); |