From 3342dd204597c09bb726dfc1d7a0acbfd2fd5d8f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 15 Aug 2017 15:31:06 +0300 Subject: anonymous SRMM services got names --- plugins/Clist_modern/src/modern_clistevents.cpp | 4 ++-- plugins/Clist_modern/src/stdafx.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/Clist_modern/src') 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 #include #include +#include #include #include #include -- cgit v1.2.3