diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-06-16 12:11:20 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-06-16 12:11:20 +0000 |
commit | fd92e7e24b38c213dc09e9ecababa4d3aed5a00a (patch) | |
tree | d0f2540d6fed4a3894d02ba324d1dcadb4bb8651 | |
parent | 621889cbc7c7ef16a777eb93d9ab7f91c4098f25 (diff) |
VKontakte: potential crashfix
git-svn-id: http://svn.miranda-ng.org/main/trunk@14204 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/VKontakte/src/vk_chats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|