projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c410295
)
Remove some dead code.
author
Eric S. Raymond
<esr@thyrsus.com>
Wed, 13 Sep 2006 20:24:26 +0000
(20:24 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Wed, 13 Sep 2006 20:24:26 +0000
(20:24 +0000)
src/xio.c
patch
|
blob
|
history
diff --git
a/src/xio.c
b/src/xio.c
index 94d3217547811fd14a8ca0e4d5c9843ea30d57dd..95670993dfea867fbb5f70b2db7e1cfd29caf9c8 100644
(file)
--- a/
src/xio.c
+++ b/
src/xio.c
@@
-28,7
+28,7
@@
String fallback[] = {
"*Shields.fromHoriz: Torpedo",
"*Damages.fromHoriz: Shields",
"*Crystals.fromHoriz: Damages",
"*Shields.fromHoriz: Torpedo",
"*Damages.fromHoriz: Shields",
"*Crystals.fromHoriz: Damages",
- "*Deathray.fromHoriz:
Damage
s",
+ "*Deathray.fromHoriz:
Crystal
s",
"*Mayday.fromHoriz: Deathray",
"*Abandon.fromHoriz: Mayday",
// Planet row
"*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);
/* the command window */
text = XtVaCreateManagedWidget("text", asciiTextWidgetClass, form,
NULL);
-
+ XtVaSetValues(text, XtNeditType,XawtextRead, XtNdisplayCaret,False, NULL);
/* The button panel */
buttons = XtVaCreateManagedWidget("form",
formWidgetClass, form,
/* 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);
}
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 */
XtRealizeWidget(toplevel);
XtAppMainLoop(app_context);
/* loop may be interrupted */