diff options
-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);
}
}
|