summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_contacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_contacts.cpp')
-rw-r--r--protocols/Skype/src/skype_contacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_contacts.cpp b/protocols/Skype/src/skype_contacts.cpp
index 26e3ea530c..a83ee412da 100644
--- a/protocols/Skype/src/skype_contacts.cpp
+++ b/protocols/Skype/src/skype_contacts.cpp
@@ -76,9 +76,9 @@ void CSkypeProto::UpdateContactBirthday(HANDLE hContact, CContact::Ref contact)
uint data;
contact->GetPropBirthday(data);
TCHAR date[9];
- _itot_s(data, date, 10);
if (data > 0)
{
+ _itot_s(data, date, 10);
INT day, month, year;
_stscanf(date, _T("%04d%02d%02d"), &year, &month, &day);
this->SetSettingByte(hContact, "BirthDay", day);