Code

screen: remove unnecessary paint calls from screen_init()
[ncmpc.git] / src / screen.c
index 1646282ac053aa6046be5c88459ca751c8204c6b..b6f63007e6eea1b7a0add973c5c13a3f239b93a0 100644 (file)
@@ -300,11 +300,9 @@ screen_init(struct mpdclient *c)
        /* create progress window */
        progress_bar_init(&screen.progress_bar, screen.cols,
                          screen.rows - 2, 0);
-       progress_bar_paint(&screen.progress_bar);
 
        /* create status window */
        status_bar_init(&screen.status_bar, screen.cols, screen.rows - 1, 0);
-       status_bar_paint(&screen.status_bar, c->status, c->song);
 
 #ifdef ENABLE_COLORS
        if (options.enable_colors) {