summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp3
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;