summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-05-03 17:44:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-05-03 17:44:53 +0300
commite36fec231359220bf3af8bb8c1957078dd046f4e (patch)
treec6e2ff4c10e811ddd1b892d0e9646adbb75e1322 /plugins/Scriver/src/msgdialog.cpp
parentdedc5fb828f07003eb2bfb4356055baec8490a5c (diff)
CCtrlRichEdit::GetRichTextUtf considered useless
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r--plugins/Scriver/src/msgdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index cebfea6c55..e692c47a26 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -391,7 +391,7 @@ void CSrmmWindow::OnDestroy()
ReleaseSendQueueItems(m_hwnd);
if (g_dat.flags & SMF_SAVEDRAFTS) {
- ptrA szText(m_message.GetRichTextUtf());
+ ptrA szText(m_message.GetRichTextRtf(true));
if (szText)
db_set_utf(m_hContact, "SRMM", "SavedMsg", szText);
else
@@ -438,7 +438,7 @@ void CSrmmWindow::onClick_Ok(CCtrlButton *pButton)
if (pf2.wEffects & PFE_RTLPARA)
msi.flags |= PREF_RTL;
- msi.sendBuffer = m_message.GetRichTextUtf();
+ msi.sendBuffer = m_message.GetRichTextRtf(true);
msi.sendBufferSize = (int)mir_strlen(msi.sendBuffer);
if (msi.sendBufferSize == 0)
return;