summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-09-17 14:28:39 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-09-17 14:28:47 +0300
commit1fb1cf50e18482006dd86f2a1a47d6be2272de61 (patch)
tree42d0fa66de3424d2ba03a3c841d101f8435c6a98 /plugins/TabSRMM
parentddfe88bdb92ee76a8757389e44585bac70f632e5 (diff)
fixes #4679 (NewStory: кнопка "Цитата" плагина сообщений цитирует не выбранное событие, а последнее)
Diffstat (limited to 'plugins/TabSRMM')
-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 {