Code

increment version number to 0.28
[ncmpc.git] / src / screen_help.c
index 7497c11ad0ff0d73eba5419243037c2cffbf9155..6ce641b130fefc2d767d72f6e25952f744c0fced 100644 (file)
@@ -215,7 +215,7 @@ list_callback(unsigned i, gcc_unused void *data)
 }
 
 static void
-help_init(WINDOW *w, int cols, int rows)
+help_init(WINDOW *w, unsigned cols, unsigned rows)
 {
        lw = list_window_init(w, cols, rows);
        lw->hide_cursor = true;
@@ -223,7 +223,7 @@ help_init(WINDOW *w, int cols, int rows)
 }
 
 static void
-help_resize(int cols, int rows)
+help_resize(unsigned cols, unsigned rows)
 {
        list_window_resize(lw, cols, rows);
 }
@@ -285,7 +285,6 @@ help_cmd(gcc_unused struct mpdclient *c, command_t cmd)
 {
        if (list_window_scroll_cmd(lw, cmd)) {
                help_paint();
-               wrefresh(lw->w);
                return true;
        }
 
@@ -294,7 +293,6 @@ help_cmd(gcc_unused struct mpdclient *c, command_t cmd)
                /* center the row */
                list_window_center(lw, lw->selected);
                help_paint();
-               wrefresh(lw->w);
                return true;
        }