summaryrefslogtreecommitdiff
path: root/plugins/MirOTR
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-13 15:33:14 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-13 15:33:14 +0300
commitb1b4129a590b328d9fe3792d1a266bd4128ac57e (patch)
treec319e18a206b55f0f206e14e6551e5187f8e25ee /plugins/MirOTR
parent35b895bb4d280991cf172c89ab61010edb36e31d (diff)
MirOTR: fix for swapped icons
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r--plugins/MirOTR/res/private.icobin1150 -> 1150 bytes
-rw-r--r--plugins/MirOTR/res/unverified.icobin1150 -> 1150 bytes
-rw-r--r--plugins/MirOTR/src/svcs_menu.cpp11
3 files changed, 7 insertions, 4 deletions
diff --git a/plugins/MirOTR/res/private.ico b/plugins/MirOTR/res/private.ico
index 0595776a28..ff23d39b5f 100644
--- a/plugins/MirOTR/res/private.ico
+++ b/plugins/MirOTR/res/private.ico
Binary files differ
diff --git a/plugins/MirOTR/res/unverified.ico b/plugins/MirOTR/res/unverified.ico
index ff23d39b5f..0595776a28 100644
--- a/plugins/MirOTR/res/unverified.ico
+++ b/plugins/MirOTR/res/unverified.ico
Binary files differ
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);