]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - gui.c
gui: Use whline() for drawing the separator.
[paraslash.git] / gui.c
diff --git a/gui.c b/gui.c
index 284de0cb7778444c2b6936eb6c8d8a765370070e..a6bc54a738ff5e255675fbbe9902d09afabc281f 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -593,8 +593,6 @@ __noreturn __printf_2_3 static void msg_n_exit(int ret, const char* fmt, ...)
  */
 static void init_wins(int top_lines)
 {
-       int i;
-
        top.lines = top_lines;
        top.cols = COLS;
        top.begy = 0;
@@ -663,8 +661,7 @@ static void init_wins(int top_lines)
                keypad(in.win, 1);
        }
        wmove(sep.win, 0, 0);
-       for (i = 1; i <= COLS; i++)
-               waddstr(sep.win, theme.sep_str);
+       whline(sep.win, theme.sep_char, COLS);
        wclear(top.win);
        //wclear(bot.win);
        wnoutrefresh(top.win);