diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-12 08:12:53 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-12 08:12:53 +0000 |
commit | c0df993c8f919be748f032ff6a695fc8ad5be056 (patch) | |
tree | 0cf2e9b6c9af811a958aed2204c74eda9b8b6f04 /protocols/VKontakte/src/vk_status.cpp | |
parent | 2eb921fdbae7be508cdd3e20c67760384d84348e (diff) |
VKontakte: Code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@14922 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_status.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_status.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_status.cpp b/protocols/VKontakte/src/vk_status.cpp index d8299db63e..97e3e8d3bd 100644 --- a/protocols/VKontakte/src/vk_status.cpp +++ b/protocols/VKontakte/src/vk_status.cpp @@ -159,7 +159,7 @@ void CVkProto::OnReceiveStatus(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq) return;
const JSONNode &jnAudio = jnResponse["audio"];
- if (jnAudio.isnull()) {
+ if (!jnAudio) {
CMString tszStatusText(jnResponse["text"].as_mstring());
if (tszStatusText[0] != TCHAR(9835))
setTString("OldStatusMsg", tszStatusText);
|