diff options
author | Valentin Batz <senneth@irssi.org> | 2005-02-11 17:27:09 +0000 |
---|---|---|
committer | vb <vb@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-02-11 17:27:09 +0000 |
commit | 5a8b583347e49324c59887b6fb309bff4f8a783e (patch) | |
tree | e5860baa7e75010c954b0c6ce2084a6cc00be068 /src/fe-common | |
parent | 19e800cf236bc8258b9a19a0685dac383f9f82ec (diff) | |
download | irssi-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.c | 2 |
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 : "", |