follow-up in seldom-used places
This commit is contained in:
@@ -2098,7 +2098,7 @@ amii_update_inventory()
|
||||
|
||||
if (WIN_INVEN != WIN_ERR && (cw = amii_wins[WIN_INVEN])
|
||||
&& cw->type == NHW_MENU && cw->win) {
|
||||
display_inventory(NULL, FALSE);
|
||||
repopulate_perminvent();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1147,7 +1147,7 @@ mswin_select_menu(winid wid, int how, MENU_ITEM_P **selected)
|
||||
|
||||
/*
|
||||
-- Indicate to the window port that the inventory has been changed.
|
||||
-- Merely calls display_inventory() for window-ports that leave the
|
||||
-- Merely calls repopulate_perminvent() for window-ports that leave the
|
||||
window up, otherwise empty.
|
||||
*/
|
||||
void
|
||||
|
||||
@@ -4850,7 +4850,7 @@ void NetHackQtBind::qt_update_inventory()
|
||||
main->updateInventory();
|
||||
/* doesn't work yet
|
||||
if (program_state.something_worth_saving && iflags.perm_invent)
|
||||
display_inventory(NULL, FALSE);
|
||||
repopulate_perminvent();
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
@@ -786,7 +786,7 @@ gnome_select_menu(winid wid, int how, MENU_ITEM_P **selected)
|
||||
|
||||
/*
|
||||
-- Indicate to the window port that the inventory has been changed.
|
||||
-- Merely calls display_inventory() for window-ports that leave the
|
||||
-- Merely calls repopulate_perminvent() for window-ports that leave the
|
||||
window up, otherwise empty.
|
||||
*/
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user