mirror of https://github.com/MidnightCommander/mc
Fixed menu painting for NCurses screen library.
This commit is contained in:
parent
0c38f39876
commit
a9d59f9afc
|
@ -1,3 +1,6 @@
|
|||
2009-02-24 Andrew Borodin <aborodin@vmail.ru>
|
||||
|
||||
* src/menu.c: menubar_paint_idx(): fixed menu painting for NCurses screen library.
|
||||
|
||||
2009-02-24 Mikhail Pobolovets <styx.mp@gmail.com>
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ static void menubar_paint_idx (WMenu *menubar, int idx, int color)
|
|||
widget_move (&menubar->widget, y, x + 1);
|
||||
hline (slow_terminal ? ' ' : ACS_HLINE, menubar->max_entry_len);
|
||||
} else {
|
||||
const char *text;
|
||||
const unsigned char *text;
|
||||
|
||||
addch((unsigned char)menu->entries [idx].first_letter);
|
||||
for (text = menu->entries [idx].text; *text; text++)
|
||||
|
|
Loading…
Reference in New Issue