diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-05 11:10:32 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-05 11:10:32 +0000 |
commit | 6c5b2ecc6f9e1a7968e4eab4d2e1eeed4f82d1f0 (patch) | |
tree | f63019e4dd418ba6357d55d1b690f05820745dcc /protocols/VKontakte/src/vk_chats.cpp | |
parent | dfe76cf65e6f20d5f9c92982a241ffecf6bb3405 (diff) |
VKontakte:
fix(???) for empty contact name on friend request (attempt 3)
fix memory leaks
git-svn-id: http://svn.miranda-ng.org/main/trunk@12006 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_chats.cpp')
-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 aec5954217..1ec4075495 100644 --- a/protocols/VKontakte/src/vk_chats.cpp +++ b/protocols/VKontakte/src/vk_chats.cpp @@ -575,7 +575,7 @@ void CVkProto::KickFromChat(int chat_id, int user_id, JSONNODE* pMsg) if (msg.IsEmpty()) {
msg = TranslateT("You've been kicked by ");
if (hContact != NULL)
- msg += db_get_tsa(hContact, m_szModuleName, "Nick");
+ msg += ptrT(db_get_tsa(hContact, m_szModuleName, "Nick"));
else
msg += TranslateT("(Unknown contact)");
}
|