mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
Merge branch '284_mc-4.6-menu-ncurses' into mc-4.6
This commit is contained in:
commit
2377c64233
@ -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>
|
||||
|
||||
|
@ -110,7 +110,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
Block a user