diff options
Diffstat (limited to 'src/screen_help.c')
-rw-r--r-- | src/screen_help.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen_help.c b/src/screen_help.c index e462ddc90..423e85f59 100644 --- a/src/screen_help.c +++ b/src/screen_help.c @@ -212,13 +212,13 @@ help_paint(void) list_window_paint(lw, list_callback, NULL); } -static int +static bool help_cmd(mpd_unused mpdclient_t *c, command_t cmd) { if (list_window_scroll_cmd(lw, help_text_rows, cmd)) { list_window_paint(lw, list_callback, NULL); wrefresh(lw->w); - return 1; + return true; } lw->selected = lw->start+lw->rows; @@ -228,10 +228,10 @@ help_cmd(mpd_unused mpdclient_t *c, command_t cmd) list_window_center(lw, help_text_rows, lw->selected); list_window_paint(lw, list_callback, NULL); wrefresh(lw->w); - return 1; + return true; } - return 0; + return false; } const struct screen_functions screen_help = { |