degesch: fix highlights
This commit is contained in:
parent
20a3f25211
commit
7dbec0d273
|
@ -2388,7 +2388,7 @@ buffer_line_display (struct app_context *ctx,
|
||||||
case BUFFER_LINE_PRIVMSG:
|
case BUFFER_LINE_PRIVMSG:
|
||||||
if (line->flags & BUFFER_LINE_HIGHLIGHT)
|
if (line->flags & BUFFER_LINE_HIGHLIGHT)
|
||||||
formatter_add (&f, "#a<#s#s>#r #m",
|
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
|
else
|
||||||
formatter_add (&f, "<#s#c#s#r> #m",
|
formatter_add (&f, "<#s#c#s#r> #m",
|
||||||
a->prefixes ? a->prefixes : "", nick_color, nick, a->text);
|
a->prefixes ? a->prefixes : "", nick_color, nick, a->text);
|
||||||
|
|
Loading…
Reference in New Issue