1
0
mirror of https://github.com/irssi/irssi.git synced 2025-02-02 15:08:01 -05:00

-actcolor %n now means that the activity isn't changed.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2429 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-02-11 08:23:02 +00:00 committed by cras
parent d883248be2
commit 27665c5cfb

View File

@ -272,8 +272,11 @@ static void hilight_update_text_dest(TEXT_DEST_REC *dest, HILIGHT_REC *rec)
if (rec->priority > 0)
dest->hilight_priority = rec->priority;
g_free_not_null(dest->hilight_color);
dest->hilight_color = hilight_get_act_color(rec);
g_free_and_null(dest->hilight_color);
if (rec->act_color != NULL && strcmp(rec->act_color, "%n") == 0)
dest->level |= MSGLEVEL_NO_ACT;
else
dest->hilight_color = hilight_get_act_color(rec);
}
static void sig_print_text(TEXT_DEST_REC *dest, const char *text,