mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +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>
|
2005-07-31 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* view.c: Removed global variable have_fast_cpu. It is not used
|
* 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);
|
attrset (SELECTED_COLOR);
|
||||||
widget_move (&menubar->widget, 0, 0);
|
widget_move (&menubar->widget, 0, 0);
|
||||||
|
|
||||||
/* ncurses bug: it should work with hline but it does not */
|
hline (' ', menubar->widget.cols);
|
||||||
for (i = menubar->widget.cols; i; i--)
|
|
||||||
addch (' ');
|
|
||||||
|
|
||||||
attrset (SELECTED_COLOR);
|
attrset (SELECTED_COLOR);
|
||||||
/* Now each one of the entries */
|
/* Now each one of the entries */
|
||||||
|
Loading…
Reference in New Issue
Block a user