mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Merge pull request #303 from vague666/fs275
Applied patch from fs#275 to make /hilight -mask -line work properly
This commit is contained in:
commit
074af68578
5 changed files with 23 additions and 12 deletions
|
|
@ -325,11 +325,10 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text,
|
|||
if (dest->level & MSGLEVEL_NOHILIGHT)
|
||||
return;
|
||||
|
||||
hilight_start = hilight_end = 0;
|
||||
hilight = hilight_match(dest->server, dest->target,
|
||||
NULL, NULL, dest->level, stripped,
|
||||
&hilight_start,
|
||||
&hilight_end);
|
||||
hilight_start = dest->match_beg;
|
||||
hilight_end = dest->match_end;
|
||||
hilight = dest->hilight;
|
||||
|
||||
if (hilight == NULL)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue