summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/mir_menuitems.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/UserInfoEx/src/mir_menuitems.cpp
parent16ad355c8bdc438c3107ee3ba3ad0bf0b8c395fa (diff)
int hLangpack/m_hLang removed and replaced with HPLUGIN
Diffstat (limited to 'plugins/UserInfoEx/src/mir_menuitems.cpp')
-rw-r--r--plugins/UserInfoEx/src/mir_menuitems.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/UserInfoEx/src/mir_menuitems.cpp b/plugins/UserInfoEx/src/mir_menuitems.cpp
index 75532fdfd8..157d7fcc1a 100644
--- a/plugins/UserInfoEx/src/mir_menuitems.cpp
+++ b/plugins/UserInfoEx/src/mir_menuitems.cpp
@@ -83,7 +83,7 @@ void RebuildContact()
RemoveMenuItems(hMenuItem, _countof(hMenuItem));
// support new genmenu style
- CMenuItem mi(g_plugin);
+ CMenuItem mi(&g_plugin);
switch (flag) {
@@ -176,7 +176,7 @@ void RebuildMain()
RemoveMenuItems(hMenuItem, _countof(hMenuItem));
// support new genmenu style
- CMenuItem mi(g_plugin);
+ CMenuItem mi(&g_plugin);
switch (flag) {
case 3:
@@ -313,7 +313,7 @@ void RebuildGroup()
char text[200];
mir_strcpy(text, "UserInfo");
- CMenuItem mi(g_plugin);
+ CMenuItem mi(&g_plugin);
mi.pszService = text;
switch (flag) {
@@ -404,7 +404,7 @@ void RebuildSubGroup()
char text[200];
mir_strcpy(text, "UserInfo");
- CMenuItem mi(g_plugin);
+ CMenuItem mi(&g_plugin);
mi.pszService = text;
char* tDest = text + mir_strlen(text);
@@ -520,7 +520,7 @@ INT_PTR RebuildAccount(WPARAM, LPARAM lParam)
char text[200];
mir_strcpy(text, it->szProto);
- CMenuItem mi(g_plugin);
+ CMenuItem mi(&g_plugin);
mi.pszService = text;
char* tDest = text + mir_strlen(text);