Merge branch '284_mc-4.6-menu-ncurses' into mc-4.6

This commit is contained in:
Andrew Borodin 2009-02-26 19:51:31 +03:00
commit 2377c64233
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

@ -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++)