Code

progress_bar: do first paint manually
authorMax Kellermann <max@duempel.org>
Wed, 30 Sep 2009 05:47:27 +0000 (07:47 +0200)
committerMax Kellermann <max@duempel.org>
Wed, 30 Sep 2009 05:47:27 +0000 (07:47 +0200)
src/screen.c

index bfba41befec02897ae01897c14fcdd44ae5ad613..eaff0d95117d06e45adf959726346f0b9e2d071d 100644 (file)
@@ -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);