summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-05-21 18:04:48 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-05-21 18:04:48 +0300
commitaf7fc7efd946d233eed44765de3e464660c24d54 (patch)
tree91e54cf691bcead6930ef3c88977f5e6efef62f8 /plugins/NewStory/src
parentd3f0c4ded55a510ebaf7f609e33146a8ec08a4d9 (diff)
NewStory: too many empty lines in the end of quote
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r--plugins/NewStory/src/history_control.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index 537a74fb61..a7ce2f95b2 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -855,6 +855,7 @@ void NewstoryListData::Quote()
{
if (pMsgDlg) {
CMStringW wszText(GatherSelected(true));
+ wszText.TrimRight();
RemoveBbcodes(wszText);
pMsgDlg->SetMessageText(Srmm_Quote(wszText));