From fd92e7e24b38c213dc09e9ecababa4d3aed5a00a Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Tue, 16 Jun 2015 12:11:20 +0000 Subject: VKontakte: potential crashfix git-svn-id: http://svn.miranda-ng.org/main/trunk@14204 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_chats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte') diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp index d541ce4e2f..cf3328065d 100644 --- a/protocols/VKontakte/src/vk_chats.cpp +++ b/protocols/VKontakte/src/vk_chats.cpp @@ -340,7 +340,7 @@ void CVkProto::AppendChatMessage(int id, const JSONNode &jnMsg, bool bIsHistory) if (iReadCount == 1) { CVkChatUser *cu = cc->m_users.find((CVkChatUser*)&a_uid); if (cu == NULL) - tszBody.AppendFormat(_T("%s https://vk.com/id%s"), TranslateT("invite user"), a_uid); + tszBody.AppendFormat(_T("%s https://vk.com/id%d"), TranslateT("invite user"), a_uid); else tszBody.AppendFormat(_T("%s %s"), TranslateT("invite user"), cu->m_tszNick); } -- cgit v1.2.3