[gaim-migrate @ 10954]

Tue, 14 Sep 2004 03:51:36 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Tue, 14 Sep 2004 03:51:36 +0000
changeset 10022
b5bb3bdd4d1a
parent 10021
5aa380278a15
child 10023
6b0014040323

[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.

src/protocols/oscar/oscar.c file | annotate | diff | comparison | revisions
--- 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;

mercurial