summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorValentin Batz <senneth@irssi.org>2005-02-11 17:27:09 +0000
committervb <vb@dbcabf3a-b0e7-0310-adc4-f8d773084564>2005-02-11 17:27:09 +0000
commit5a8b583347e49324c59887b6fb309bff4f8a783e (patch)
treee5860baa7e75010c954b0c6ce2084a6cc00be068 /src/fe-common
parent19e800cf236bc8258b9a19a0685dac383f9f82ec (diff)
downloadirssi-5a8b583347e49324c59887b6fb309bff4f8a783e.zip
Fixed output of /hilight (add a space after -levels if any).
Added recode to dcc-chat, patch by Jean-Yves Lefort git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3708 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/hilight-text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c
index b379b814..4a913ee6 100644
--- a/src/fe-common/core/hilight-text.c
+++ b/src/fe-common/core/hilight-text.c
@@ -500,6 +500,8 @@ static void hilight_print(int index, HILIGHT_REC *rec)
g_strjoinv(",", rec->channels);
levelstr = rec->level == 0 ? NULL :
bits2level(rec->level);
+ if (levelstr != NULL)
+ levelstr = g_strconcat(levelstr, " ", NULL);
printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP,
TXT_HILIGHT_LINE, index, rec->text,
chans != NULL ? chans : "",