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 | |
parent | 35b895bb4d280991cf172c89ab61010edb36e31d (diff) |
MirOTR: fix for swapped icons
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r-- | plugins/MirOTR/res/private.ico | bin | 1150 -> 1150 bytes | |||
-rw-r--r-- | plugins/MirOTR/res/unverified.ico | bin | 1150 -> 1150 bytes | |||
-rw-r--r-- | 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 Binary files differindex 0595776a28..ff23d39b5f 100644 --- a/plugins/MirOTR/res/private.ico +++ b/plugins/MirOTR/res/private.ico diff --git a/plugins/MirOTR/res/unverified.ico b/plugins/MirOTR/res/unverified.ico Binary files differindex ff23d39b5f..0595776a28 100644 --- a/plugins/MirOTR/res/unverified.ico +++ b/plugins/MirOTR/res/unverified.ico 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); |