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

Function askname_delete

win/X11/winX.c:1806–1816  ·  view source on GitHub ↗

askname ---------------------------------------------------------------- */ ARGSUSED */

Source from the content-addressed store, hash-verified

1804/* askname ---------------------------------------------------------------- */
1805/* ARGSUSED */
1806static void
1807askname_delete(Widget w, XEvent *event, String *params, Cardinal *num_params)
1808{
1809 nhUse(event);
1810 nhUse(params);
1811 nhUse(num_params);
1812
1813 nh_XtPopdown(w);
1814 (void) strcpy(svp.plname, "Mumbles"); /* give them a name... ;-) */
1815 exit_x_event = TRUE;
1816}
1817
1818/* Callback for askname dialog widget. */
1819/* ARGSUSED */

Callers

nothing calls this directly

Calls 1

nh_XtPopdownFunction · 0.85

Tested by

no test coverage detected