summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sendqueue.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-13 17:02:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-13 17:02:40 +0000
commitb21fd1d8a8e9bb3244f89c4030f0651aa82c3a81 (patch)
treee3a58d715c156be744f2083daaf125311ddd35c8 /plugins/TabSRMM/src/sendqueue.cpp
parentbb0c52985eccfae809a08bb72938b863bc546032 (diff)
- ansi messages removed;
- strange dances with tambourines also removed git-svn-id: http://svn.miranda-ng.org/main/trunk@11369 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.cpp')
-rw-r--r--plugins/TabSRMM/src/sendqueue.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp
index 95d550d64f..53165fdb39 100644
--- a/plugins/TabSRMM/src/sendqueue.cpp
+++ b/plugins/TabSRMM/src/sendqueue.cpp
@@ -541,11 +541,13 @@ void SendQueue::recallFailed(const TWindowData *dat, int iEntry) const
{
if (dat == NULL)
return;
- int iLen = GetWindowTextLengthA(GetDlgItem(dat->hwnd, IDC_MESSAGE));
+
+ int iLen = GetWindowTextLength(GetDlgItem(dat->hwnd, IDC_MESSAGE));
NotifyDeliveryFailure(dat);
if (iLen != 0)
return;
- /* message area is empty, so we can recall the failed message... */
+
+ // message area is empty, so we can recall the failed message...
SETTEXTEX stx = {ST_DEFAULT, 1200};
if (m_jobs[iEntry].dwFlags & PREF_UNICODE)
SendDlgItemMessage(dat->hwnd, IDC_MESSAGE, EM_SETTEXTEX, (WPARAM)&stx, (LPARAM)&m_jobs[iEntry].szSendBuffer[mir_strlen(m_jobs[iEntry].szSendBuffer) + 1]);