summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-queries.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-09 21:06:45 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-09 21:06:45 +0000
commitd256f71a004e56578c6b45287c7d3f53574e4f0d (patch)
treec70c1bf82b329a663881793bd2e0fbed21013336 /src/fe-common/core/fe-queries.c
parentf8f1f814a511376bfae25ef4daeadf9c6ac57d64 (diff)
downloadirssi-d256f71a004e56578c6b45287c7d3f53574e4f0d.zip
Highlighting cleanups. Added /HILIGHT -priority option.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1098 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/fe-queries.c')
-rw-r--r--src/fe-common/core/fe-queries.c2
1 files changed, 1 insertions, 1 deletions
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);
}