summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-01 17:45:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-01 17:45:41 +0000
commitcea0c911bc4bb8d527739cbaf1a098ac2344a7d8 (patch)
treea5207b33ce3b6cace54b97ffb0816d89f471c84f /protocols/Twitter/src/proto.cpp
parent5c89906040b2ea1f307f3e337655a9429b858207 (diff)
fix for a twitter menu
git-svn-id: http://svn.miranda-ng.org/main/trunk@14466 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/src/proto.cpp')
-rw-r--r--protocols/Twitter/src/proto.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp
index bc95f7deda..fa1daf0957 100644
--- a/protocols/Twitter/src/proto.cpp
+++ b/protocols/Twitter/src/proto.cpp
@@ -252,12 +252,8 @@ INT_PTR TwitterProto::VisitHomepage(WPARAM hContact, LPARAM)
int TwitterProto::OnBuildStatusMenu(WPARAM, LPARAM)
{
- HGENMENU hRoot = pcli->pfnGetProtocolMenu(m_szModuleName);
- if (hRoot == NULL)
- return 0;
-
CMenuItem mi;
- mi.root = hRoot;
+ mi.root = Menu_GetProtocolRoot(this);
mi.flags = CMIF_TCHAR;
mi.position = 1001;
Menu_AddStatusMenuItem(&mi, m_szModuleName);