summaryrefslogtreecommitdiff
path: root/plugins/ProxySwitch/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-11 21:32:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-11 21:33:11 +0300
commitf719c8b921c7a46b76453476204224d40c682914 (patch)
treec6d92dc450893e7f5abe60c2046ec9c2d1e3db36 /plugins/ProxySwitch/src/main.cpp
parent16ad355c8bdc438c3107ee3ba3ad0bf0b8c395fa (diff)
int hLangpack/m_hLang removed and replaced with HPLUGIN
Diffstat (limited to 'plugins/ProxySwitch/src/main.cpp')
-rw-r--r--plugins/ProxySwitch/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ProxySwitch/src/main.cpp b/plugins/ProxySwitch/src/main.cpp
index 06cea7f732..2b28f39993 100644
--- a/plugins/ProxySwitch/src/main.cpp
+++ b/plugins/ProxySwitch/src/main.cpp
@@ -126,7 +126,7 @@ static INT_PTR CopyIP2Clipboard(WPARAM, LPARAM, LPARAM idx)
void UpdateInterfacesMenu(void)
{
- CMenuItem mi(g_plugin);
+ CMenuItem mi(&g_plugin);
mir_cslock lck(csNIF_List);
for (auto &it : g_arNIF) {
@@ -163,7 +163,7 @@ void UpdateInterfacesMenu(void)
void UpdatePopupMenu(BOOL State)
{
- CMenuItem mi(g_plugin);
+ CMenuItem mi(&g_plugin);
if (!hEnableDisablePopupMenu)
return;
@@ -254,7 +254,7 @@ int Init(WPARAM, LPARAM)
mir_forkthread(IP_WatchDog, 0);
// menu item
- CMenuItem mi(g_plugin);
+ CMenuItem mi(&g_plugin);
SET_UID(mi, 0x53b0835b, 0x7162, 0x4272, 0x83, 0x3b, 0x3f, 0x60, 0x9e, 0xe, 0x76, 0x4a);
mi.position = 0xC0000000;
mi.flags = CMIF_UNICODE;