# HG changeset patch # User Mark Doliner # Date 1084000773 0 # Node ID cb3dd3a4c71c8df24a2baa405c5602469f6d3eac # Parent c430e99bb14781393afc0322d1d3602397b05e59 [gaim-migrate @ 9671] Show "not specified" as a gender instead of defaulting to male. I thought about using "inhuman" or "unknown"... but I didn't. committer: Tailor Script diff -r c430e99bb147 -r cb3dd3a4c71c src/protocols/oscar/icq.c --- a/src/protocols/oscar/icq.c Fri May 07 03:57:30 2004 +0000 +++ b/src/protocols/oscar/icq.c Sat May 08 07:19:33 2004 +0000 @@ -550,7 +550,7 @@ case 0x00dc: { /* personal information */ info->age = aimbs_getle8(&qbs); info->unknown = aimbs_getle8(&qbs); - info->gender = aimbs_getle8(&qbs); + info->gender = aimbs_getle8(&qbs); /* Not specified=0x00, Female=0x01, Male=0x02 */ info->personalwebpage = aimbs_getstr(&qbs, aimbs_getle16(&qbs)); info->birthyear = aimbs_getle16(&qbs); info->birthmonth = aimbs_getle8(&qbs); diff -r c430e99bb147 -r cb3dd3a4c71c src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Fri May 07 03:57:30 2004 +0000 +++ b/src/protocols/oscar/oscar.c Sat May 08 07:19:33 2004 +0000 @@ -4235,7 +4235,8 @@ } } oscar_string_append(str, "\n
", _("Mobile Phone"), info->mobile); - oscar_string_append(str, "\n
", _("Gender"), info->gender==1 ? _("Female") : _("Male")); + oscar_string_append(str, "\n
", _("Gender"), info->gender == 0 ? _("Not specified") : + info->gender == 1 ? _("Female") : _("Male")); if (info->birthyear || info->birthmonth || info->birthday) { char date[30]; struct tm tm;