pass menu_headings not test value for title
This commit is contained in:
@@ -662,7 +662,6 @@ void
|
||||
init_sound_disp_gamewindows(void)
|
||||
{
|
||||
int menu_behavior = MENU_BEHAVE_STANDARD;
|
||||
color_attr menu_promptstyle = { NO_COLOR, ATR_INVERSE };
|
||||
|
||||
activate_chosen_soundlib();
|
||||
|
||||
@@ -682,7 +681,8 @@ init_sound_disp_gamewindows(void)
|
||||
WIN_MAP = create_nhwindow(NHW_MAP);
|
||||
WIN_INVEN = create_nhwindow(NHW_MENU);
|
||||
if (WIN_INVEN != WIN_ERR)
|
||||
adjust_menu_promptstyle(WIN_INVEN, &menu_promptstyle);
|
||||
adjust_menu_promptstyle(WIN_INVEN, &iflags.menu_headings);
|
||||
|
||||
#ifdef TTY_PERM_INVENT
|
||||
if (WINDOWPORT(tty) && WIN_INVEN != WIN_ERR) {
|
||||
menu_behavior = MENU_BEHAVE_PERMINV;
|
||||
|
||||
@@ -5418,6 +5418,7 @@ handler_menu_headings(void)
|
||||
if (iflags.perm_invent)
|
||||
update_inventory();
|
||||
}
|
||||
adjust_menu_promptstyle(WIN_INVEN, &iflags.menu_headings);
|
||||
return optn_ok;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user