summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/IcqOscarJ/src/icq_xstatus.cpp4
-rw-r--r--protocols/MRA/src/Mra_menus.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/protocols/IcqOscarJ/src/icq_xstatus.cpp b/protocols/IcqOscarJ/src/icq_xstatus.cpp
index abdcbb0400..b1b88b0426 100644
--- a/protocols/IcqOscarJ/src/icq_xstatus.cpp
+++ b/protocols/IcqOscarJ/src/icq_xstatus.cpp
@@ -854,10 +854,10 @@ void CIcqProto::InitXStatusItems(BOOL bAllowStatus)
mir_sntprintf(szItem, _countof(szItem), TranslateT("%s Custom Status"), m_tszUserName);
CMenuItem mi;
- mi.root = Menu_GetProtocolRoot(m_szModuleName);
+ mi.root = pcli->pfnGetProtocolMenu(m_szModuleName);
mi.name.t = szItem;
mi.position = 10001;
- hRoot = Menu_AddStatusMenuItem(&mi);
+ hRoot = Menu_AddStatusMenuItem(&mi, m_szModuleName);
}
CMenuItem mi;
diff --git a/protocols/MRA/src/Mra_menus.cpp b/protocols/MRA/src/Mra_menus.cpp
index 32c6eeda27..ce92e1781c 100644
--- a/protocols/MRA/src/Mra_menus.cpp
+++ b/protocols/MRA/src/Mra_menus.cpp
@@ -285,10 +285,10 @@ int CMraProto::MraRebuildStatusMenu(WPARAM, LPARAM)
mir_sntprintf(szItem, _countof(szItem), _T("%s Custom Status"), m_tszUserName);
CMenuItem mi;
- mi.root = Menu_GetProtocolRoot(m_szModuleName);
+ mi.root = pcli->pfnGetProtocolMenu(m_szModuleName);
mi.name.t = szItem;
mi.position = 10001;
- hRoot = Menu_AddStatusMenuItem(&mi);
+ hRoot = Menu_AddStatusMenuItem(&mi, m_szModuleName);
}
CMenuItem mi;