aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/oscar')
-rw-r--r--protocols/oscar/Makefile1
-rw-r--r--protocols/oscar/oscar.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/protocols/oscar/Makefile b/protocols/oscar/Makefile
index ed2d7f83..95e85ec2 100644
--- a/protocols/oscar/Makefile
+++ b/protocols/oscar/Makefile
@@ -17,6 +17,7 @@ LFLAGS += -r
# [SH] Phony targets
all: oscar_mod.o
check: all
+lcov:
gcov:
gcov *.c
diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c
index 39d14811..4d18e832 100644
--- a/protocols/oscar/oscar.c
+++ b/protocols/oscar/oscar.c
@@ -2255,7 +2255,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;