Use hline() instead of addch() to clear the menubar widget area.

This commit is contained in:
Roland Illig 2005-08-05 12:01:47 +00:00
parent 9e2a3f2208
commit 070b0dccf2
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-08-05 Pavel Tsekov <ptsekov@gmx.net>
* menu.c (menubar_draw): Use hline() instead of addch() to clear
the menubar widget area.
2005-07-31 Roland Illig <roland.illig@gmx.de>
* view.c: Removed global variable have_fast_cpu. It is not used

View File

@ -160,9 +160,7 @@ static void menubar_draw (WMenu *menubar)
attrset (SELECTED_COLOR);
widget_move (&menubar->widget, 0, 0);
/* ncurses bug: it should work with hline but it does not */
for (i = menubar->widget.cols; i; i--)
addch (' ');
hline (' ', menubar->widget.cols);
attrset (SELECTED_COLOR);
/* Now each one of the entries */