From: Max Kellermann Date: Wed, 30 Sep 2009 05:47:27 +0000 (+0200) Subject: progress_bar: do first paint manually X-Git-Tag: release-0.16~286 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7e8c02d16ae6ea6a7bec2e6b0c16d4cd179bea49;p=ncmpc.git progress_bar: do first paint manually --- diff --git a/src/screen.c b/src/screen.c index bfba41b..eaff0d9 100644 --- a/src/screen.c +++ b/src/screen.c @@ -564,6 +564,7 @@ screen_init(struct mpdclient *c) /* create progress window */ progress_bar_init(&screen.progress_bar, 1, screen.cols, screen.rows - 2, 0); + progress_bar_paint(&screen.progress_bar); leaveok(screen.progress_bar.window.w, TRUE);