From accd48c7a638f2a78b86930231a296d10ad9ba6b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Nov 2023 13:34:43 +0300 Subject: =?UTF-8?q?fixes=20#3780=20(NewStory:=20=D1=81=D0=B3=D1=80=D1=83?= =?UTF-8?q?=D0=BF=D0=BF=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D0=B5=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D1=81=D0=BA=D0=BB=D0=B5=D0=B8=D0=B2=D0=B0=D1=8E=D1=82=D1=81?= =?UTF-8?q?=D1=8F=20=D0=BF=D1=80=D0=B8=20=D0=BA=D0=BE=D0=BF=D0=B8=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_control.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/NewStory') 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); -- cgit v1.2.3