From 7d8dce334967520fcd140ae79ec92b44ec71a00e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 11 Mar 2017 16:59:04 +0300 Subject: unused constants removed from m_chat_int.h --- plugins/Scriver/src/chat/window.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins/Scriver/src/chat/window.cpp') diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp index 740b4ff579..97054b8993 100644 --- a/plugins/Scriver/src/chat/window.cpp +++ b/plugins/Scriver/src/chat/window.cpp @@ -426,7 +426,7 @@ INT_PTR CALLBACK CChatRoomDlg::FilterWndProc(HWND hwndDlg, UINT uMsg, WPARAM wPa if (iFlags & GC_EVENT_ADDSTATUS) iFlags |= GC_EVENT_REMOVESTATUS; - SendMessage(pDlg->GetHwnd(), GC_CHANGEFILTERFLAG, 0, iFlags); + pDlg->m_iLogFilterFlags = iFlags; if (pDlg->m_bFilterEnabled) SendMessage(pDlg->GetHwnd(), GC_REDRAWLOG, 0, 0); PostMessage(hwndDlg, WM_CLOSE, 0, 0); @@ -1545,10 +1545,6 @@ INT_PTR CChatRoomDlg::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) UpdateTitle(); break; - case GC_CHANGEFILTERFLAG: - m_iLogFilterFlags = lParam; - break; - case GC_SHOWFILTERMENU: { HWND hwnd = CreateDialogParam(g_hInst, MAKEINTRESOURCE(IDD_FILTER), m_hwnd, FilterWndProc, (LPARAM)this); -- cgit v1.2.3