summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo/src/listeningto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-16 14:02:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-16 14:02:41 +0000
commitcf1c8283aca6d09ddfc42d18c8ecc38bbc0f65fb (patch)
treecf3ec04ee9f1000cdd5e8b3d88b14d684f12646a /plugins/ListeningTo/src/listeningto.cpp
parent8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 (diff)
MS_CLIST_REMOVEMAINMENUITEM also removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@10480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ListeningTo/src/listeningto.cpp')
-rw-r--r--plugins/ListeningTo/src/listeningto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp
index 7dcceb47b1..f6fd9214c7 100644
--- a/plugins/ListeningTo/src/listeningto.cpp
+++ b/plugins/ListeningTo/src/listeningto.cpp
@@ -188,7 +188,7 @@ void RebuildMenu()
ProtocolInfo *info = &proto_items[i];
if (info->hMenu != NULL)
- CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM) info->hMenu, 0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM) info->hMenu, 0);
TCHAR text[512];
mir_sntprintf(text, SIZEOF(text), TranslateT("Send to %s"), info->account);
@@ -252,7 +252,7 @@ int AccListChanged(WPARAM wParam, LPARAM lParam)
}
else if (wParam == PRAC_REMOVED || (wParam == PRAC_CHECKED && !proto->bIsEnabled))
{
- CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM) info->hMenu, 0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM) info->hMenu, 0);
for(std::vector<ProtocolInfo>::iterator it = proto_items.begin(); it != proto_items.end(); ++it)
{