From 104b126c69b89cc4b7caf301fbdbd0b1c9a21bda Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 17 Sep 2008 12:08:09 +0200 Subject: [PATCH] list_window: set repaint at the end of list_window_cmd() --- src/list_window.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/list_window.c b/src/list_window.c index 297d3f6..88f0a69 100644 --- a/src/list_window.c +++ b/src/list_window.c @@ -272,32 +272,27 @@ list_window_cmd(struct list_window *lw, unsigned rows, command_t cmd) switch (cmd) { case CMD_LIST_PREVIOUS: list_window_previous(lw, rows); - lw->repaint=1; break; case CMD_LIST_NEXT: list_window_next(lw, rows); - lw->repaint=1; break; case CMD_LIST_FIRST: list_window_first(lw); - lw->repaint = 1; break; case CMD_LIST_LAST: list_window_last(lw, rows); - lw->repaint = 1; break; case CMD_LIST_NEXT_PAGE: list_window_next_page(lw, rows); - lw->repaint = 1; break; case CMD_LIST_PREVIOUS_PAGE: list_window_previous_page(lw); - lw->repaint = 1; break; default: return 0; } + lw->repaint = 1; return 1; } -- 2.30.2