Code

screen: remove unnecessary doupdate() call from screen_init()
authorMax Kellermann <max.kellermann@gmail.com>
Mon, 20 Mar 2017 11:34:00 +0000 (12:34 +0100)
committerMax Kellermann <max.kellermann@gmail.com>
Mon, 20 Mar 2017 11:34:00 +0000 (12:34 +0100)
main() will call screen_paint() before entering the main loop, so this
saves a few bytes of stdout transfer.

src/screen.c

index 6f1ac95f3bab6f4eac1d55b24021ed3841703dfc..9ea6f9183e93c4472b828b977b108867758a0fc7 100644 (file)
@@ -319,8 +319,6 @@ screen_init(struct mpdclient *c)
        }
 #endif
 
-       doupdate();
-
        /* initialize screens */
        screen_list_init(screen.main_window.w,
                         screen.main_window.cols, screen.main_window.rows);