diff options
author | Timo Sirainen <cras@irssi.org> | 2003-11-16 23:21:10 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2003-11-16 23:21:10 +0000 |
commit | fcd5b3a0be3875f3343f62516df05a5eca1fdf6c (patch) | |
tree | 4bea08dcb0a9214d1e522d3e83a6fdbcb4841d75 | |
parent | 130030c5060ea2f3899242379824759037625986 (diff) | |
download | irssi-fcd5b3a0be3875f3343f62516df05a5eca1fdf6c.zip |
crashfix for some systems
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3159 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/core/window-activity.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-common/core/window-activity.c b/src/fe-common/core/window-activity.c index 64b0aad3..5197e1a0 100644 --- a/src/fe-common/core/window-activity.c +++ b/src/fe-common/core/window-activity.c @@ -94,8 +94,9 @@ static void sig_hilight_text(TEXT_DEST_REC *dest, const char *msg) if (hide_target_activity(data_level, dest->target)) return; - tagtarget = g_strdup_printf("%s/%s", dest->server_tag, - dest->target); + tagtarget = dest->server_tag == NULL ? NULL : + g_strdup_printf("%s/%s", dest->server_tag, + dest->target); if (hide_target_activity(data_level, tagtarget)) { g_free(tagtarget); return; |