diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-22 19:58:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-22 19:58:04 +0000 |
commit | 1b3eb999850503df29c166127a9f17511976ee1a (patch) | |
tree | 9bc2a4b45113c4c040e092515a517f58d4cb3dcb /protocols/MRA | |
parent | c5a6df0573fac34f658545c6f2e49e8755c65d58 (diff) |
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
Diffstat (limited to 'protocols/MRA')
-rw-r--r-- | protocols/MRA/src/Mra_svcs.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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;
}
|