From 855ca62463d7cfc011228da38fadcd3c2b70fe8b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 25 Mar 2017 14:11:24 +0300 Subject: code cleaning --- plugins/TabSRMM/src/msgdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/msgdialog.cpp') diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 5089dfaca3..fedb3d4aab 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -792,7 +792,7 @@ void CSrmmWindow::OnInitDialog() if (tszSavedMsg != 0) { SETTEXTEX stx = { ST_DEFAULT, 1200 }; m_message.SendMsg(EM_SETTEXTEX, (WPARAM)&stx, tszSavedMsg); - SendQueue::UpdateSaveAndSendButton(this); + UpdateSaveAndSendButton(); if (m_pContainer->m_hwndActive == m_hwnd) UpdateReadChars(); } @@ -1297,7 +1297,7 @@ void CSrmmWindow::onChange_Message(CCtrlEdit*) m_dwFlags |= MWF_NEEDHISTORYSAVE; m_dwLastActivity = GetTickCount(); m_pContainer->dwLastActivity = m_dwLastActivity; - SendQueue::UpdateSaveAndSendButton(this); + UpdateSaveAndSendButton(); if (!(GetKeyState(VK_CONTROL) & 0x8000)) { m_nLastTyping = GetTickCount(); if (GetWindowTextLength(m_message.GetHwnd())) { -- cgit v1.2.3