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.cpp11
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);