aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_search.c')
-rw-r--r--src/screen_search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen_search.c b/src/screen_search.c
index 3c0a18bf9..235eeeecc 100644
--- a/src/screen_search.c
+++ b/src/screen_search.c
@@ -382,10 +382,10 @@ static void
paint(void)
{
if (browser.filelist) {
- browser.lw->flags = 0;
+ browser.lw->hide_cursor = false;
list_window_paint(browser.lw, browser_lw_callback, browser.filelist);
} else {
- browser.lw->flags = LW_HIDE_CURSOR;
+ browser.lw->hide_cursor = true;
list_window_paint(browser.lw, lw_search_help_callback, NULL);
}
}