| 4418 | }; |
| 4419 | |
| 4420 | staticfn void |
| 4421 | mcmd_addmenu(winid win, int act, const char *txt) |
| 4422 | { |
| 4423 | anything any; |
| 4424 | int clr = NO_COLOR; |
| 4425 | |
| 4426 | /* TODO: fixed letters for the menu entries? */ |
| 4427 | any = cg.zeroany; |
| 4428 | any.a_int = act; |
| 4429 | add_menu(win, &nul_glyphinfo, &any, '\0', 0, ATR_NONE, clr, txt, |
| 4430 | MENU_ITEMFLAGS_NONE); |
| 4431 | } |
| 4432 | |
| 4433 | /* command menu entries when targeting self */ |
| 4434 | staticfn int |
no test coverage detected