diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-01-02 19:51:41 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-01-02 19:51:41 +0000 |
commit | 451a34f6ca95767f63d9d98b2fea02ccd569f7b0 (patch) | |
tree | d8df7f1ecd2eb3962d555256ca92e7158a73822e /protocols/VKontakte/src | |
parent | e185ce0df50fa161f5ea5c89fe0edfdbabb59185 (diff) |
VKontakte: fix order write to db part of date for UserInfoEx correct bithdate change processing
git-svn-id: http://svn.miranda-ng.org/main/trunk@11727 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index d1f971855f..93c8816972 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -299,10 +299,10 @@ MCONTACT CVkProto::SetContactInfo(JSONNODE* pItem, bool flag, bool self) int d, m, y, iReadCount;
iReadCount = _stscanf(tszValue.GetBuffer(), _T("%d.%d.%d"), &d, &m, &y);
if (iReadCount > 1) {
- setByte(hContact, "BirthDay", d);
- setByte(hContact, "BirthMonth", m);
if (iReadCount == 3)
setWord(hContact, "BirthYear", y);
+ setByte(hContact, "BirthDay", d);
+ setByte(hContact, "BirthMonth", m);
}
}
|