aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--protocols/oscar/oscar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c
index 0c175df6..426dd4a2 100644
--- a/protocols/oscar/oscar.c
+++ b/protocols/oscar/oscar.c
@@ -2254,7 +2254,8 @@ static int gaim_icqinfo(aim_session_t *sess, aim_frame_t *fr, ...)
}
}
info_string_append(str, "\n", _("Mobile Phone"), info->mobile);
- info_string_append(str, "\n", _("Gender"), info->gender==1 ? _("Female") : info->gender==2 ? _("Male") : _("Unknown"));
+ if (info->gender != 0)
+ info_string_append(str, "\n", _("Gender"), info->gender==1 ? _("Female") : _("Male"));
if (info->birthyear || info->birthmonth || info->birthday) {
char date[30];
struct tm tm;