diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-06-24 08:57:43 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-06-24 08:57:43 +0000 |
commit | e7cbad749beed101cefc96fd9d0302dc0371f01a (patch) | |
tree | 1adfaed7f3c67fd5630f032be8c31a17b6acf302 /protocols/VKontakte/src | |
parent | 8a555ee9376773d6426850b1029935a3a48192e5 (diff) |
VKontakte: typo fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@17028 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 2 | ||||
-rw-r--r-- | protocols/VKontakte/src/vk_feed.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index b2d05a04e1..1996ad9bdd 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -525,7 +525,7 @@ void CVkProto::DBAddAuthRequest(const MCONTACT hContact, bool added) dbei.szModule = m_szModuleName;
dbei.timestamp = (DWORD)time(NULL);
dbei.flags = DBEF_UTF;
- dbei.eventType = added ? EVENTTYPE_ADDED: EVENTTYPE_AUTHREQUEST;
+ dbei.eventType = added ? EVENTTYPE_ADDED : EVENTTYPE_AUTHREQUEST;
dbei.cbBlob = (DWORD)(sizeof(DWORD) * 2 + mir_strlen(szNick) + mir_strlen(szFirstName) + mir_strlen(szLastName) + 5);
PBYTE pCurBlob = dbei.pBlob = (PBYTE)mir_alloc(dbei.cbBlob);
diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp index c889c12705..4ed9786164 100644 --- a/protocols/VKontakte/src/vk_feed.cpp +++ b/protocols/VKontakte/src/vk_feed.cpp @@ -293,7 +293,7 @@ CMString CVkProto::GetVkFeedback(const JSONNode &jnFeedback, VKObjType vkFeedbac tszFormat = _T("%s %%s %%s\n%s");
}
else if (vkFeedbackType == vkPost) {
- iUserId = jnFeedback["owner_id "].as_int();
+ iUserId = jnFeedback["owner_id"].as_int();
tszFormat = _T("%s %%s %%s\n%s");
}
else if (vkFeedbackType == VKObjType::vkUsers || vkFeedbackType == vkCopy) {
|