summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-25 20:09:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-25 20:09:33 +0000
commite6cc8b8de595b4d930f595fb0d1b79de120eed09 (patch)
treeca08bb8f25a2f81af4107a3e7374dd37a3f56371 /protocols/FacebookRM
parent1a56828ddbaa4e3589fbf5c074983c5486f3850d (diff)
fix for menu item params
git-svn-id: http://svn.miranda-ng.org/main/trunk@7379 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/src/theme.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/theme.cpp b/protocols/FacebookRM/src/theme.cpp
index ce3fc657d3..9671140c3f 100644
--- a/protocols/FacebookRM/src/theme.cpp
+++ b/protocols/FacebookRM/src/theme.cpp
@@ -192,7 +192,9 @@ int FacebookProto::OnBuildStatusMenu(WPARAM wParam,LPARAM lParam)
mi.icolibItem = GetIconHandle("facebook");
mi.ptszName = m_tszUserName;
hRoot = m_hMenuRoot = Menu_AddProtoMenuItem(&mi);
- } else {
+ mi.popupPosition = 0;
+ }
+ else {
if (m_hMenuRoot)
CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)m_hMenuRoot, 0);
m_hMenuRoot = NULL;