MCPcopy Create free account
hub / github.com/NetHack/NetHack / reset_menu_to_default

Function reset_menu_to_default

win/X11/winmenu.c:1442–1450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1440}
1441
1442static void
1443reset_menu_to_default(struct menu *mp)
1444{
1445 mp->base = mp->last = (x11_menu_item *) 0;
1446 mp->query = (const char *) 0;
1447 mp->gacc = (const char *) 0;
1448 mp->count = 0;
1449 mp->curr_selector = 'a'; /* first accelerator */
1450}
1451
1452static void
1453clear_old_menu(struct xwindow *wp)

Callers 3

move_menuFunction · 0.85
free_menuFunction · 0.85
create_menu_windowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected