From a7551fa14b3ab1d5f999182313b0a820272e2be6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 8 Oct 2024 14:30:39 +0300 Subject: =?UTF-8?q?fixes=20#4718=20(NewStory:=20=D1=82=D1=8D=D0=B3=D0=B8?= =?UTF-8?q?=20=D0=BA=D0=BE=D1=80=D1=91=D0=B6=D0=B8=D1=82,=20=D0=B5=D1=81?= =?UTF-8?q?=D0=BB=D0=B8=20=D0=B2=20=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B8=20=D0=BA=D0=B0=D1=80=D1=82=D0=B8=D0=BD=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=B5=D1=81=D1=82=D1=8C=20=D1=8D=D0=BC=D0=BE=D0=B4=D0=B7?= =?UTF-8?q?=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/templates.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/NewStory') diff --git a/plugins/NewStory/src/templates.cpp b/plugins/NewStory/src/templates.cpp index 2c9ac5c222..dc0c97e928 100644 --- a/plugins/NewStory/src/templates.cpp +++ b/plugins/NewStory/src/templates.cpp @@ -55,10 +55,9 @@ static void AppendImage(CMStringW &buf, const CMStringW &wszUrl, const CMStringW if (pImage->GetHeight() < uMaxHeight) iHeight = pImage->GetHeight(); - buf.AppendFormat(L"\"%s\"/
", - iHeight, wszUrl.c_str(), wszDescr.c_str(), wszDescr.c_str()); + buf.AppendFormat(L"
", iHeight, wszUrl.c_str()); } - else buf.AppendFormat(L"\"%s\"/
", wszUrl.c_str(), wszUrl.c_str(), wszUrl.c_str()); + else buf.AppendFormat(L"
", wszUrl.c_str()); } else buf.AppendFormat(L"%s", wszUrl.c_str(), wszDescr.c_str()); } -- cgit v1.2.3