diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-27 22:20:56 -0700 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-27 22:20:56 -0700 |
commit | 05bcd20ba58357673225984d8f308baa6d34b726 (patch) | |
tree | 7d1102114a371669e6c11d2edbf2a3c918ced602 | |
parent | c737ba70c7b3510ffb6bed8f9373e63b1a150c1b (diff) |
s/Gender: Unknown// in OSCAR profile info. If we don't know, just don't
mention it, like the other vars.
-rw-r--r-- | protocols/oscar/oscar.c | 3 |
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; |