summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sendqueue.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-08-08 07:38:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-08-08 07:38:27 +0000
commitcd3898d8ea6f3fc53950f91544c1db2ee86c60d6 (patch)
treef652773902756114fc5badc9a4f741d427320ee8 /plugins/TabSRMM/src/sendqueue.cpp
parent212d36e4fd71b88a427ecbc8e3c3536daf88de38 (diff)
cleaning rest of m_wStatus
git-svn-id: http://svn.miranda-ng.org/main/trunk@17167 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.cpp')
-rw-r--r--plugins/TabSRMM/src/sendqueue.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp
index fc99b2d0a0..0680965059 100644
--- a/plugins/TabSRMM/src/sendqueue.cpp
+++ b/plugins/TabSRMM/src/sendqueue.cpp
@@ -539,10 +539,8 @@ int SendQueue::ackMessage(TWindowData *dat, WPARAM wParam, LPARAM lParam)
if (!nen_options.iNoSounds && !(m_pContainer->dwFlags & CNT_NOSOUND))
SkinPlaySound("SendError");
- wchar_t *szAckMsg = mir_a2u((char *)ack->lParam);
- mir_snwprintf(job.szErrorMsg, TranslateT("Delivery failure: %s"), szAckMsg);
+ mir_snwprintf(job.szErrorMsg, TranslateT("Delivery failure: %s"), _A2T((char *)ack->lParam));
job.iStatus = SQ_ERROR;
- mir_free(szAckMsg);
KillTimer(dat->hwnd, TIMERID_MSGSEND + iFound);
if (!(dat->dwFlags & MWF_ERRORSTATE))
handleError(dat, iFound);