From 31914686b7643575c5644e20774338eac66977ff Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 11 Oct 2009 19:20:55 +0200 Subject: [PATCH] screen_help: use help_paint() Don't call list_window_paint() manually. --- src/screen_help.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screen_help.c b/src/screen_help.c index 1d83bf7..54b54f2 100644 --- a/src/screen_help.c +++ b/src/screen_help.c @@ -255,7 +255,7 @@ static bool help_cmd(G_GNUC_UNUSED struct mpdclient *c, command_t cmd) { if (list_window_scroll_cmd(lw, cmd)) { - list_window_paint(lw, list_callback, NULL); + help_paint(); wrefresh(lw->w); return true; } @@ -264,7 +264,7 @@ help_cmd(G_GNUC_UNUSED struct mpdclient *c, command_t cmd) if (screen_find(lw, cmd, list_callback, NULL)) { /* center the row */ list_window_center(lw, lw->selected); - list_window_paint(lw, list_callback, NULL); + help_paint(); wrefresh(lw->w); return true; } -- 2.30.2