From 63531cb25c72858ed465453c6ead096a8c9a1d20 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 13 Sep 2006 20:24:26 +0000 Subject: [PATCH] Remove some dead code. --- src/xio.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/xio.c b/src/xio.c index 94d3217..9567099 100644 --- a/src/xio.c +++ b/src/xio.c @@ -28,7 +28,7 @@ String fallback[] = { "*Shields.fromHoriz: Torpedo", "*Damages.fromHoriz: Shields", "*Crystals.fromHoriz: Damages", - "*Deathray.fromHoriz: Damages", + "*Deathray.fromHoriz: Crystals", "*Mayday.fromHoriz: Deathray", "*Abandon.fromHoriz: Mayday", // Planet row @@ -109,7 +109,7 @@ int main(int argc, char **argv) /* the command window */ text = XtVaCreateManagedWidget("text", asciiTextWidgetClass, form, NULL); - + XtVaSetValues(text, XtNeditType,XawtextRead, XtNdisplayCaret,False, NULL); /* The button panel */ buttons = XtVaCreateManagedWidget("form", formWidgetClass, form, @@ -123,10 +123,6 @@ int main(int argc, char **argv) if (cp->callback) XtAddCallback (cp->widget, XtNcallback, cp->callback, NULL); } - /* sample text so the widget will be identifiable */ - XtVaSetValues(text, XtNtype, XawAsciiString, - XtNstring, "Command window", NULL); - XtVaSetValues(text, XtNeditType, XawtextRead, XtNdisplayCaret, False, NULL); XtRealizeWidget(toplevel); XtAppMainLoop(app_context); /* loop may be interrupted */ -- 2.31.1