summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 8cd71399bb..d9fd2c3804 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -904,7 +904,7 @@ void CMsgDialog::onClick_Quote(CCtrlButton*)
CMStringW szQuoted;
int iOutputWidth = M.GetDword("quoteLineLength", 64);
- wchar_t *selected = m_pLog->GetSelection();
+ wchar_t *selected = m_pLog->GetSelectedText();
if (selected != nullptr)
szQuoted = Srmm_Quote(selected, iOutputWidth);
else {