]> git.tue.mpg.de Git - paraslash.git/commitdiff
gui: Clear top window only once on resize.
authorAndre Noll <maan@systemlinux.org>
Mon, 6 Jan 2014 18:08:16 +0000 (18:08 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 13:48:54 +0000 (15:48 +0200)
init_wins() already clears the top window.

gui.c

diff --git a/gui.c b/gui.c
index 02d67bc67e182422528c9214a76cc3114c1bbdd0..96043da05b5f9b602e229f131b5248c7f43d6190 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -1363,7 +1363,6 @@ static void com_shrink_top_win(void)
                return;
        }
        init_wins(top.lines - 1);
-       wclear(top.win);
        print_all_items();
        print_in_bar(COLOR_MSG, "%s", "decreased top window");
 }
@@ -1375,7 +1374,6 @@ static void com_enlarge_top_win(void)
                return;
        }
        init_wins(top.lines + 1);
-       wclear(top.win);
        print_all_items();
        print_in_bar(COLOR_MSG, "increased top window");
 }