From b1b4129a590b328d9fe3792d1a266bd4128ac57e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 Mar 2019 15:33:14 +0300 Subject: MirOTR: fix for swapped icons --- plugins/MirOTR/res/private.ico | Bin 1150 -> 1150 bytes plugins/MirOTR/res/unverified.ico | Bin 1150 -> 1150 bytes plugins/MirOTR/src/svcs_menu.cpp | 11 +++++++---- 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 Binary files a/plugins/MirOTR/res/private.ico and b/plugins/MirOTR/res/private.ico differ diff --git a/plugins/MirOTR/res/unverified.ico b/plugins/MirOTR/res/unverified.ico index ff23d39b5f..0595776a28 100644 Binary files a/plugins/MirOTR/res/unverified.ico and b/plugins/MirOTR/res/unverified.ico 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); -- cgit v1.2.3