summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2016-03-09 11:29:22 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2016-03-09 11:29:22 +0000
commitfdb344552ed7d15047dbce5538f26730cf383a7b (patch)
treecedf0c678261273eba8fcd48c1a49f9d8a134a9b
parentbaec52c6995b90287a87c399ae97e156620381f1 (diff)
VKontakte: small fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16451 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/VKontakte/src/misc.cpp2
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp4
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")
};