summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-03 13:34:43 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-03 13:34:43 +0300
commitaccd48c7a638f2a78b86930231a296d10ad9ba6b (patch)
treec3b546f54d2d903e173c31ca4e5c4d8b22235004 /plugins
parent50691aaecfc2e3206271825403d1a0d3338c6b4d (diff)
fixes #3780 (NewStory: сгруппированные сообщения склеиваются при копировании)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/NewStory/src/history_control.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index 1ad5bb1f38..f78c812209 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -282,19 +282,17 @@ void NewstoryListData::Copy(bool bTextOnly)
res.Append(blob.getLocalName());
else
res.Append(_A2T(blob.getUrl()));
- res.Append(L"\r\n");
}
else {
- if (bTextOnly) {
+ if (bTextOnly)
res.Append(p->wtext);
- res.Append(L"\r\n");
- }
else { // copy text only
CMStringW wszText(p->formatString());
RemoveBbcodes(wszText);
res.Append(wszText);
}
}
+ res.Append(L"\r\n");
}
Utils_ClipboardCopy(res);