From b512802eb2babc879a109d16ce4a32b2fb1c22ef Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 27 Nov 2008 18:05:28 +0100 Subject: list_window: converted "flags" to one "bool" variable Currently, there is only one known list_window flag ("hide_cursor"). Replace the "flags" bit field with a boolean variable. If we run out of space some day, we can convert that to bool:1. --- src/list_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/list_window.c') diff --git a/src/list_window.c b/src/list_window.c index b12e8eb8c..ea4b3c28e 100644 --- a/src/list_window.c +++ b/src/list_window.c @@ -166,7 +166,7 @@ list_window_paint(struct list_window *lw, { unsigned i; bool fill = options.wide_cursor; - bool show_cursor = !(lw->flags & LW_HIDE_CURSOR); + bool show_cursor = !lw->hide_cursor; if (show_cursor) { if (lw->selected < lw->start) -- cgit v1.2.3