From: Max Kellermann Date: Mon, 20 Mar 2017 15:35:07 +0000 (+0100) Subject: screen: remove unnecessary paint calls from screen_init() X-Git-Tag: v0.27~47 X-Git-Url: https://git.tokkee.org/?p=ncmpc.git;a=commitdiff_plain;h=7eb1306c865cf55500ba522fd98b9ff5587aa903 screen: remove unnecessary paint calls from screen_init() This will be painted right before entering the main loop. --- diff --git a/src/screen.c b/src/screen.c index 1646282..b6f6300 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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) {