mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Use hline() instead of addch() to clear the menubar widget area.
This commit is contained in:
parent
9e2a3f2208
commit
070b0dccf2
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user