From fdb344552ed7d15047dbce5538f26730cf383a7b Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Wed, 9 Mar 2016 11:29:22 +0000 Subject: VKontakte: small fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16451 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/misc.cpp | 2 +- protocols/VKontakte/src/vk_thread.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index e94368353d..b9d33b2328 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -1187,7 +1187,7 @@ void CVkProto::SetInvisible(MCONTACT hContact) if (getWord(hContact, "Status", ID_STATUS_OFFLINE) == ID_STATUS_OFFLINE) { setWord(hContact, "Status", ID_STATUS_INVISIBLE); SetMirVer(hContact, 1); - db_set_w(hContact, "BuddyExpectator", "LastStatus", ID_STATUS_INVISIBLE); + db_set_dw(hContact, "BuddyExpectator", "LastStatus", ID_STATUS_INVISIBLE); debugLogA("CVkProto::SetInvisible %d set ID_STATUS_INVISIBLE", getDword(hContact, "ID", -1)); } time_t now = time(NULL); diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 598856ffa0..284ac34d2e 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -323,7 +323,7 @@ MCONTACT CVkProto::SetContactInfo(const JSONNode &jnItem, bool flag, bool self) if (iNewStatus == ID_STATUS_ONLINE) { db_set_dw(hContact, "BuddyExpectator", "LastSeen", (DWORD)time(NULL)); - db_set_w(hContact, "BuddyExpectator", "LastStatus", ID_STATUS_ONLINE); + db_set_dw(hContact, "BuddyExpectator", "LastStatus", ID_STATUS_ONLINE); int online_app = _ttoi(jnItem["online_app"].as_mstring()); int online_mobile = jnItem["online_mobile"].as_int(); @@ -393,7 +393,7 @@ MCONTACT CVkProto::SetContactInfo(const JSONNode &jnItem, bool flag, bool self) TranslateT("in a relationship"), TranslateT("engaged"), TranslateT("married"), - TranslateT("it's complicated"), + TranslateT("it\'s complicated"), TranslateT("actively searching"), TranslateT("in love") }; -- cgit v1.2.3