gui: Kill pointless initialization of top.lines in main().
authorAndre Noll <maan@systemlinux.org>
Mon, 6 Jan 2014 16:24:13 +0000 (16:24 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 12:04:04 +0000 (14:04 +0200)
init_curses() sets this value anyway.

gui.c

diff --git a/gui.c b/gui.c
index 34b594f..e854294 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -1553,7 +1553,6 @@ int main(int argc, char *argv[])
                exit(EXIT_FAILURE);
        }
        init_theme_or_die(conf.theme_arg, &theme);
-       top.lines = theme.top_lines_default;
        setup_signal_handling();
        bot_win_rb = ringbuffer_new(RINGBUFFER_SIZE);
        setlocale(LC_CTYPE, "");