-/* NetHack 3.6 winmisc.c $NHDT-Date: 1457079197 2016/03/04 08:13:17 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.25 $ */
+/* NetHack 3.6 winmisc.c $NHDT-Date: 1539892610 2018/10/18 19:56:50 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.39 $ */
/* Copyright (c) Dean Luick, 1992 */
/* NetHack may be freely redistributed. See license for details. */
return (long)x;
}
-/* Player Selection --------------------------------------------------------
- */
+/* Player Selection ------------------------------------------------------- */
/* ARGSUSED */
static void
ps_quit(w, client_data, call_data)
}
}
-/* Global functions =========================================================
- */
+/* Global functions ======================================================== */
void
X11_player_selection_prompts()
{
}
}
-/* End global functions =====================================================
- */
+/* End global functions =================================================== */
-/* Extended Command --------------------------------------------------------
- */
+/* Extended Command ------------------------------------------------------- */
/* ARGSUSED */
static void
extend_select(w, client_data, call_data)
free((char *) command_list);
}
-/* -------------------------------------------------------------------------
- */
+/* ------------------------------------------------------------------------ */
/*
* Create a popup widget of the following form:
XtCallbackProc name_callback;
Widget *formp; /* return */
{
- Widget popup, form, label, above, left, right, view;
+ Widget popup, popform, form, label, above, left, right, view;
Widget *commands, *curr;
int i;
Arg args[8];
XtParseTranslationTable(popup_translations)); num_args++;
XtSetArg(args[num_args], XtNborderWidth, 0); num_args++;
XtSetArg(args[num_args], nhStr(XtNdefaultDistance), 0); num_args++;
- Widget popform = XtCreateManagedWidget("topmenuform", formWidgetClass, popup,
- args, num_args);
+ popform = XtCreateManagedWidget("topmenuform", formWidgetClass, popup,
+ args, num_args);
num_args = 0;