headings in option menus
There was a great deal of inconsistency in different menus on how headings were displayed. This allows the user to select what they like best. I was motivated to do this, because I wasn't satisfied with the appearance of ATR_INVERSE in the menus on win32tty, and several of them specified it.
This commit is contained in:
@@ -709,7 +709,7 @@ boolean FDECL((*allow), (OBJ_P));/* allow function */
|
||||
/* if sorting, print type name (once only) */
|
||||
if (qflags & INVORDER_SORT && !printed_type_name) {
|
||||
any.a_obj = (struct obj *) 0;
|
||||
add_menu(win, NO_GLYPH, &any, 0, 0, ATR_INVERSE,
|
||||
add_menu(win, NO_GLYPH, &any, 0, 0, iflags.menu_headings,
|
||||
let_to_name(*pack, FALSE), MENU_UNSELECTED);
|
||||
printed_type_name = TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user