diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-15 15:31:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-15 15:31:06 +0300 |
commit | 3342dd204597c09bb726dfc1d7a0acbfd2fd5d8f (patch) | |
tree | 03d29ca3ad2c9918314f92ccfdbb515ecd510aa7 /plugins/Clist_modern | |
parent | f52b5cc86d9eff2494902157c8fc0a4e019a3c95 (diff) |
anonymous SRMM services got names
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_clistevents.cpp | 4 | ||||
-rw-r--r-- | plugins/Clist_modern/src/stdafx.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_clistevents.cpp b/plugins/Clist_modern/src/modern_clistevents.cpp index 377949ba85..c9e9a7702a 100644 --- a/plugins/Clist_modern/src/modern_clistevents.cpp +++ b/plugins/Clist_modern/src/modern_clistevents.cpp @@ -97,8 +97,8 @@ CListEvent* cli_AddEvent(CLISTEVENT *cle) mii.cbSize = sizeof(mii);
mii.fMask = MIIM_DATA | MIIM_BITMAP | MIIM_ID;
if (p->pszService &&
- (!strncmp("SRMsg/ReadMessage", p->pszService, _countof("SRMsg/ReadMessage")) ||
- !strncmp("GChat/DblClickEvent", p->pszService, _countof("GChat/DblClickEvent")))) {
+ (!strncmp(MS_MSG_READMESSAGE, p->pszService, _countof(MS_MSG_READMESSAGE)) ||
+ !strncmp("GChat/DblClickEvent", p->pszService, _countof("GChat/DblClickEvent")))) {
// dup check only for msg events
for (int j = 0; j < GetMenuItemCount(g_CluiData.hMenuNotify); j++) {
if (GetMenuItemInfo(g_CluiData.hMenuNotify, j, TRUE, &mii) != 0) {
diff --git a/plugins/Clist_modern/src/stdafx.h b/plugins/Clist_modern/src/stdafx.h index 5b1c5a4531..f2e3fbb331 100644 --- a/plugins/Clist_modern/src/stdafx.h +++ b/plugins/Clist_modern/src/stdafx.h @@ -82,6 +82,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <m_clist.h>
#include <m_skin.h>
#include <m_skin_eng.h>
+#include <m_message.h>
#include <m_skinbutton.h>
#include <m_contacts.h>
#include <m_avatars.h>
|