From 7eb1306c865cf55500ba522fd98b9ff5587aa903 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 20 Mar 2017 16:35:07 +0100 Subject: [PATCH] screen: remove unnecessary paint calls from screen_init() This will be painted right before entering the main loop. --- src/screen.c | 2 -- 1 file changed, 2 deletions(-) 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) { -- 2.30.2