diff options
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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));
|