curses comment bit
Don't require c99, even in code that's suppressed via #if 0.
This commit is contained in:
@@ -1182,7 +1182,8 @@ menu_display_page(nhmenu *menu, WINDOW * win, int page_num, char *selectors)
|
|||||||
if (menu_item_ptr->glyph != NO_GLYPH && iflags.use_menu_glyphs) {
|
if (menu_item_ptr->glyph != NO_GLYPH && iflags.use_menu_glyphs) {
|
||||||
unsigned special; /*notused */
|
unsigned special; /*notused */
|
||||||
|
|
||||||
// mapglyph(menu_item_ptr->glyph, &curletter, &color, &special, 0, 0, 0);
|
/*mapglyph(menu_item_ptr->glyph, &curletter, &color, &special,
|
||||||
|
0, 0, 0);*/
|
||||||
curses_toggle_color_attr(win, color, NONE, ON);
|
curses_toggle_color_attr(win, color, NONE, ON);
|
||||||
mvwaddch(win, menu_item_ptr->line_num + 1, start_col, curletter);
|
mvwaddch(win, menu_item_ptr->line_num + 1, start_col, curletter);
|
||||||
curses_toggle_color_attr(win, color, NONE, OFF);
|
curses_toggle_color_attr(win, color, NONE, OFF);
|
||||||
|
|||||||
Reference in New Issue
Block a user