From f6ccc9a04a25f10090c2619f07956b87a18311ce Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 21 Mar 2015 13:03:07 +0000 Subject: all SRMMs to send messages right trimmed git-svn-id: http://svn.miranda-ng.org/main/trunk@12466 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdmsg/src/msgdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index ee401f03f4..67daa77a1a 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -1451,7 +1451,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP if (!temp[0]) break; - int sendId = SendMessageDirect(temp, dat->hContact, dat->szProto); + int sendId = SendMessageDirect(rtrimt(temp), dat->hContact, dat->szProto); if (sendId) { dat->cmdList.insert(mir_tstrdup(temp)); -- cgit v1.2.3