X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=gui.c;h=a6bc54a738ff5e255675fbbe9902d09afabc281f;hb=3d9df3244a04aaf5c0c216f2e475f5355cf9721b;hp=284de0cb7778444c2b6936eb6c8d8a765370070e;hpb=1833dfd4333e8c3099ba2fac39245e11fd123ae0;p=paraslash.git diff --git a/gui.c b/gui.c index 284de0cb..a6bc54a7 100644 --- 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);