From: Max Kellermann Date: Sun, 11 Oct 2009 17:20:55 +0000 (+0200) Subject: screen_help: use help_paint() X-Git-Tag: release-0.16~108 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=31914686b7643575c5644e20774338eac66977ff;p=ncmpc.git screen_help: use help_paint() Don't call list_window_paint() manually. --- 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; }