changeset 10022:00a7ccf8ccd7

[gaim-migrate @ 10954] Don't show "Not Specified" for ICQ info when the gender isn't specified. oannu@sf pointed out that this is dumb. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 14 Sep 2004 03:51:36 +0000
parents 2f41f462ab4e
children 34bce9529cf4
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sun Sep 12 22:33:55 2004 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Sep 14 03:51:36 2004 +0000
@@ -5051,8 +5051,8 @@
 		}
 	}
 	oscar_string_append(str, "\n<br>", _("Mobile Phone"), info->mobile);
-	oscar_string_append(str, "\n<br>", _("Gender"), info->gender == 0 ? _("Not specified") :
-													info->gender == 1 ? _("Female") : _("Male"));
+	if (info->gender != 0)
+		oscar_string_append(str, "\n<br>", _("Gender"), info->gender == 1 ? _("Female") : _("Male"));
 	if (info->birthyear || info->birthmonth || info->birthday) {
 		char date[30];
 		struct tm tm;