From d256f71a004e56578c6b45287c7d3f53574e4f0d Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 9 Jan 2001 21:06:45 +0000 Subject: Highlighting cleanups. Added /HILIGHT -priority option. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-queries.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-common/core/fe-queries.c') diff --git a/src/fe-common/core/fe-queries.c b/src/fe-common/core/fe-queries.c index b4272011..68c67eb8 100644 --- a/src/fe-common/core/fe-queries.c +++ b/src/fe-common/core/fe-queries.c @@ -283,7 +283,7 @@ static int sig_query_autoclose(void) next = tmp->next; window = window_item_window((WI_ITEM_REC *) rec); - if (window != active_win && rec->new_data == 0 && + if (window != active_win && rec->data_level == 0 && now-window->last_line > query_auto_close) query_destroy(rec); } -- cgit v1.2.3