diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-30 13:57:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-30 13:57:10 +0000 |
commit | 98ef126036ee5fdef2155dc15e4e08a7f7eaf534 (patch) | |
tree | 729c3ea2c781a7ea383b97d7331a389de3bdc388 /protocols/IcqOscarJ | |
parent | 53c47e9a7736c6554cfd306d26e337e08548bb1e (diff) |
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
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_xstatus.cpp | 4 |
1 files changed, 2 insertions, 2 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;
|