gui: Print the status bar only once.
authorAndre Noll <maan@systemlinux.org>
Mon, 6 Jan 2014 17:56:20 +0000 (17:56 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 12:04:04 +0000 (14:04 +0200)
Currently we print it twice on startup. Remove the redundant call
to print_status_bar().

gui.c

diff --git a/gui.c b/gui.c
index 6263c92..e4849fb 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -677,7 +677,6 @@ static void init_wins(int top_lines)
                keypad(bot.win, 1);
                keypad(sb.win, 1);
                keypad(in.win, 1);
-               print_status_bar();
        }
        wmove(sep.win, 0, 0);
        for (i = 1; i <= COLS; i++)