called by X11_update_inventory() if persistent inventory is currently displayed but the 'perm_invent' option is now Off */
| 678 | /* called by X11_update_inventory() if persistent inventory is currently |
| 679 | displayed but the 'perm_invent' option is now Off */ |
| 680 | void |
| 681 | x11_no_perminv(struct xwindow *wp) |
| 682 | { |
| 683 | if (wp && wp->type == NHW_MENU && wp->menu_information->is_up) { |
| 684 | destroy_menu_entry_widgets(wp); |
| 685 | menu_popdown(wp); |
| 686 | } |
| 687 | } |
| 688 | |
| 689 | /* called by X11_update_inventory() if user has executed #perminv command */ |
| 690 | void |
no test coverage detected