summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_feed.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-02-09 05:37:49 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-02-09 05:37:49 +0000
commit30a70d349269ef4322387240718b2c9059cae691 (patch)
tree9204c4b94c10c8e2a2df158bbc32b85423cc2f0f /protocols/VKontakte/src/vk_feed.cpp
parentcc9402b1daabb0a27065e5eb704948cc2f74f7df (diff)
VKontakte:
forwarded messages support version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@12058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_feed.cpp')
-rw-r--r--protocols/VKontakte/src/vk_feed.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp
index 9240e56dd2..de43af6405 100644
--- a/protocols/VKontakte/src/vk_feed.cpp
+++ b/protocols/VKontakte/src/vk_feed.cpp
@@ -200,8 +200,11 @@ CVKNewsItem* CVkProto::GetVkNewsItem(JSONNODE *pItem, OBJLIST<CVkUserInfo> &vkUs
}
JSONNODE *pAttachments = json_get(pItem, "attachments");
- if (pAttachments)
+ if (pAttachments){
+ if (!tszText.IsEmpty())
+ tszText.AppendChar(_T('\n'));
tszText += GetAttachmentDescr(pAttachments, m_bUseBBCOnAttacmentsAsNews ? m_iBBCForNews : m_iBBCForAttachments);
+ }
}
CMString tszResFormat;