From 451a34f6ca95767f63d9d98b2fea02ccd569f7b0 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Fri, 2 Jan 2015 19:51:41 +0000 Subject: 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 --- protocols/VKontakte/src/vk_thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/VKontakte/src/vk_thread.cpp') 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); } } -- cgit v1.2.3