From: Max Kellermann Date: Mon, 20 Mar 2017 11:34:00 +0000 (+0100) Subject: screen: remove unnecessary doupdate() call from screen_init() X-Git-Tag: v0.26~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=08252cc9911a347ed4da04d6a3270c70fe005e4e;p=ncmpc.git screen: remove unnecessary doupdate() call from screen_init() main() will call screen_paint() before entering the main loop, so this saves a few bytes of stdout transfer. --- diff --git a/src/screen.c b/src/screen.c index 6f1ac95..9ea6f91 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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);