summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-06-06 20:22:34 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-06-06 20:22:34 +0000
commit1b8647da361135909e3c8f459d8aaffc2475818f (patch)
treece77a59992d81105ec8ab7217397146f2e69251b /protocols
parent7edb23f3ad2a6fa8c239b2234d6e1c8df00005be (diff)
VKontakte:
git-svn-id: http://svn.miranda-ng.org/main/trunk@14031 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/VKontakte/src/vk_chats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp
index bc4520a859..85d725b372 100644
--- a/protocols/VKontakte/src/vk_chats.cpp
+++ b/protocols/VKontakte/src/vk_chats.cpp
@@ -138,7 +138,7 @@ void CVkProto::OnReceiveChatInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe
const JSONNode &jnInfo = jnResponse["info"];
if (!jnInfo.isnull()) {
CMString tszTitle(jnInfo["title"].as_mstring());
- if (tszTitle == cc->m_tszTopic ? cc->m_tszTopic : _T("")) {
+ if (tszTitle == (cc->m_tszTopic ? cc->m_tszTopic : _T(""))) {
cc->m_tszTopic = mir_tstrdup(tszTitle);
setTString(cc->m_hContact, "Nick", tszTitle);