From 98ef126036ee5fdef2155dc15e4e08a7f7eaf534 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 30 Jun 2015 13:57:10 +0000 Subject: fix for xstatus menus in ICQ & MRA, when status menus are disabled git-svn-id: http://svn.miranda-ng.org/main/trunk@14456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/Mra_menus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/MRA/src') 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; -- cgit v1.2.3