#reqmenu, prefix command to modify some others */
| 1572 | |
| 1573 | /* #reqmenu, prefix command to modify some others */ |
| 1574 | int |
| 1575 | do_reqmenu(void) |
| 1576 | { |
| 1577 | if (iflags.menu_requested) { |
| 1578 | Norep("Double %s prefix, canceled.", |
| 1579 | visctrl(cmd_from_func(do_reqmenu))); |
| 1580 | iflags.menu_requested = FALSE; |
| 1581 | return ECMD_CANCEL; |
| 1582 | } |
| 1583 | |
| 1584 | iflags.menu_requested = TRUE; |
| 1585 | return ECMD_OK; |
| 1586 | } |
| 1587 | |
| 1588 | /* #rush */ |
| 1589 | int |
nothing calls this directly
no test coverage detected