From 62c035c1dfc9ab599ab5403869022ebbc7910f66 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Tue, 5 May 2015 13:47:22 +0000 Subject: =?UTF-8?q?VKontakte:=20fix=20for=20=E2=80=98%=E2=80=99=20in=20not?= =?UTF-8?q?ification=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.miranda-ng.org/main/trunk@13441 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_feed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp index fd2de60bf3..78d1d71d04 100644 --- a/protocols/VKontakte/src/vk_feed.cpp +++ b/protocols/VKontakte/src/vk_feed.cpp @@ -137,7 +137,6 @@ void CVkProto::CreateVkUserInfoList(OBJLIST &vkUsers, JSONNODE *pRe CVKNewsItem* CVkProto::GetVkNewsItem(JSONNODE *pItem, OBJLIST &vkUsers, bool isRepost) { - //debugLogA("CVkProto::GetVkNewsItem"); bool bPostLink = true; CVKNewsItem *vkNewsItem = new CVKNewsItem(); if (pItem == NULL) @@ -276,6 +275,7 @@ CMString CVkProto::GetVkFeedback(JSONNODE *pFeedback, VKObjType vkFeedbackType, if (iUserId) { vkUser = GetVkUserInfo(iUserId, vkUsers); CMString tszText = json_as_CMString(json_get(pFeedback, "text")); + tszText.Replace(_T("%"), _T("%%")); tszRes.AppendFormat(tszFormat, SetBBCString(vkUser->m_tszUserNick.GetBuffer(), m_iBBCForNews, vkbbcUrl, vkUser->m_tszLink.GetBuffer()), ClearFormatNick(tszText).GetBuffer()); } -- cgit v1.2.3