X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fxio.c;h=65098bff143e10b05708bff793cb5f15501034e2;hp=58d419c6e484b2473069fcac7694ca55e8f38316;hb=0bc4964e6bcf3a3ee3b383ee79a97f69ffa48b46;hpb=a6fb36fa485fda1c5b0ff219a683c33ed685ab01 diff --git a/src/xio.c b/src/xio.c index 58d419c..65098bf 100644 --- a/src/xio.c +++ b/src/xio.c @@ -14,7 +14,6 @@ static Widget navigation, weapons, planets, misc; static Widget navlabel, weaplabel, planlabel, misclabel; static String fallback[] = { - /* text window resources */ "*text.resizable: true", "*text.resize: ResizeBoth", "*text.width: 640", @@ -33,7 +32,7 @@ static String fallback[] = { "*planlabel.borderWidth: 0", "*misc.fromVert: planets", "*misc.borderWidth: 0", - "*misclabel.label: Miscellaneos: ", + "*misclabel.label: Miscellaneous:", "*misclabel.borderWidth: 0", NULL, }; @@ -104,8 +103,11 @@ static void instantiate_main(int argc, char **argv) XtNallowShellResize, True, NULL); form = XtVaCreateManagedWidget("form", formWidgetClass, toplevel, NULL); /* the command window */ - text = XtVaCreateManagedWidget("text", asciiTextWidgetClass, form, NULL); - XtVaSetValues(text, XtNeditType,XawtextRead, XtNdisplayCaret,False, NULL); + text = XtVaCreateManagedWidget("text", + asciiTextWidgetClass, form, + XtNeditType, XawtextEdit, + XtNdisplayCaret,False, + NULL); /* The button panels */ navigation = XtVaCreateManagedWidget("navigation", boxWidgetClass, form,