pedantic: fix m_menu.c

This commit is contained in:
James R 2022-02-20 03:31:25 -08:00
parent 5ba4231b9d
commit a6ec9faf93
2 changed files with 482 additions and 483 deletions

File diff suppressed because it is too large Load diff

View file

@ -315,6 +315,7 @@ typedef union
struct menu_s *submenu; // IT_SUBMENU
consvar_t *cvar; // IT_CVAR
void (*routine)(INT32 choice); // IT_CALL, IT_KEYHANDLER, IT_ARROWS
void (*eventhandler)(event_t *ev); // MM_EVENTHANDLER
} itemaction_t;
//
@ -329,7 +330,7 @@ typedef struct menuitem_s
const char *text; // used when FONTBxx lump is found
// FIXME: should be itemaction_t
void *itemaction;
itemaction_t itemaction;
// hotkey in menu or y of the item
UINT16 alphaKey;