Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 13728:ed73ef86f40c
[gaim-migrate @ 16139]
hingwah says my comment wasn't as accurate as it could be.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 07 May 2006 14:14:09 +0000 |
parents | 3b3430042849 |
children | 79720436df40 |
comparison
equal
deleted
inserted
replaced
13727:4b6308145fcd | 13728:ed73ef86f40c |
---|---|
3649 oscar_string_append(gc->account, str, "\n<br>", _("Mobile Phone"), info->mobile); | 3649 oscar_string_append(gc->account, str, "\n<br>", _("Mobile Phone"), info->mobile); |
3650 if (info->gender != 0) | 3650 if (info->gender != 0) |
3651 oscar_string_append(gc->account, str, "\n<br>", _("Gender"), info->gender == 1 ? _("Female") : _("Male")); | 3651 oscar_string_append(gc->account, str, "\n<br>", _("Gender"), info->gender == 1 ? _("Female") : _("Male")); |
3652 if ((info->birthyear > 1900) && (info->birthmonth > 0) && (info->birthday > 0)) { | 3652 if ((info->birthyear > 1900) && (info->birthmonth > 0) && (info->birthday > 0)) { |
3653 /* Initialize the struct properly or strftime() will crash | 3653 /* Initialize the struct properly or strftime() will crash |
3654 * on some systems (Debian Sarge AMD64). */ | 3654 * under some conditions (e.g. Debian sarge w/ LANG=en_HK). */ |
3655 time_t t = time(NULL); | 3655 time_t t = time(NULL); |
3656 struct tm *tm = localtime(&t); | 3656 struct tm *tm = localtime(&t); |
3657 | 3657 |
3658 tm->tm_mday = (int)info->birthday; | 3658 tm->tm_mday = (int)info->birthday; |
3659 tm->tm_mon = (int)info->birthmonth - 1; | 3659 tm->tm_mon = (int)info->birthmonth - 1; |