summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-25 14:11:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-25 14:11:24 +0300
commit855ca62463d7cfc011228da38fadcd3c2b70fe8b (patch)
tree45bc4fab69dbce0d078278cbb66ecbeacae2ecaa /plugins/TabSRMM/src/msgdialog.cpp
parent19bf42ce996ea933dfbb234034ff317a7edd3bf0 (diff)
code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp4
1 files changed, 2 insertions, 2 deletions
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())) {