diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-14 11:38:37 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-14 11:38:47 +0300 |
commit | f67d0010e40384420bdce141950ca25ce180cc30 (patch) | |
tree | c20169c1ab21d591cdd863fe49eba914c3daba71 /src | |
parent | 3dd3aed5c8d4efac30217cb308b9b94ff4b811f6 (diff) |
StdMsg: fix for broken smileys
Diffstat (limited to 'src')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index e3834976ff..aa9e5136f7 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -315,7 +315,8 @@ void CSrmmWindow::onClick_Ok(CCtrlButton *pButton) if (!pButton->Enabled())
return;
- ptrW temp(m_message.GetText());
+ ptrA msgText(m_message.GetRichTextRtf(true));
+ ptrW temp(mir_utf8decodeW(msgText));
if (!temp[0])
return;
|