degesch: fix highlights

This commit is contained in:
Přemysl Eric Janouch 2015-06-16 21:48:35 +02:00
parent 20a3f25211
commit 7dbec0d273
1 changed files with 1 additions and 1 deletions

View File

@ -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);