From 7edb23f3ad2a6fa8c239b2234d6e1c8df00005be Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Sat, 6 Jun 2015 20:20:55 +0000 Subject: VKontakte: crashfix on muc starting git-svn-id: http://svn.miranda-ng.org/main/trunk@14030 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 5eaab37ad1..bc4520a859 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) { + if (tszTitle == cc->m_tszTopic ? cc->m_tszTopic : _T("")) { cc->m_tszTopic = mir_tstrdup(tszTitle); setTString(cc->m_hContact, "Nick", tszTitle); -- cgit v1.2.3