From 1b3eb999850503df29c166127a9f17511976ee1a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 22 Oct 2012 19:58:04 +0000 Subject: fix for the MRA's own Send Nudge menu item git-svn-id: http://svn.miranda-ng.org/main/trunk@2052 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/Mra_svcs.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/MRA/src') diff --git a/protocols/MRA/src/Mra_svcs.cpp b/protocols/MRA/src/Mra_svcs.cpp index 545f07ad2e..897f76f1a9 100644 --- a/protocols/MRA/src/Mra_svcs.cpp +++ b/protocols/MRA/src/Mra_svcs.cpp @@ -636,9 +636,7 @@ int CMraProto::MraRebuildContactMenu(WPARAM wParam, LPARAM lParam) CListShowMenuItem(hContactMenuItems[8], (m_bLoggedIn && bHasEMailMR && bChatAgent == FALSE)); //"Send &Nudge" - if (heNudgeReceived == NULL) - CListShowMenuItem(hContactMenuItems[9], (m_bLoggedIn && bIsContactMRA)); - + CListShowMenuItem(hContactMenuItems[9], (!heNudgeReceived) ? (m_bLoggedIn && bIsContactMRA) : 0); return 0; } -- cgit v1.2.3