From e6cc8b8de595b4d930f595fb0d1b79de120eed09 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 25 Dec 2013 20:09:33 +0000 Subject: fix for menu item params git-svn-id: http://svn.miranda-ng.org/main/trunk@7379 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/theme.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src') 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; -- cgit v1.2.3