summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-06-16 21:48:35 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-06-16 21:48:35 +0200
commit7dbec0d27301ea972b837132d56e7dc356d714c6 (patch)
tree63f5ef7f7a51ce0a419021507ee3a875f344687d /degesch.c
parent20a3f25211c2e33f9f671f2179cd803cef8fa6c8 (diff)
downloadxK-7dbec0d27301ea972b837132d56e7dc356d714c6.tar.gz
xK-7dbec0d27301ea972b837132d56e7dc356d714c6.tar.xz
xK-7dbec0d27301ea972b837132d56e7dc356d714c6.zip
degesch: fix highlights
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 1a55605..6b3520b 100644
--- a/degesch.c
+++ b/degesch.c
@@ -2388,7 +2388,7 @@ buffer_line_display (struct app_context *ctx,
case BUFFER_LINE_PRIVMSG:
if (line->flags & BUFFER_LINE_HIGHLIGHT)
formatter_add (&f, "#a<#s#s>#r #m",
- a->prefixes ? a->prefixes : "", ATTR_HIGHLIGHT, nick, a->text);
+ ATTR_HIGHLIGHT, a->prefixes ? a->prefixes : "", nick, a->text);
else
formatter_add (&f, "<#s#c#s#r> #m",
a->prefixes ? a->prefixes : "", nick_color, nick, a->text);