

1.  In widgets.c, text_create():


/* MH mod: 4/4/91 */
    if(string_or_file_ptr) *string_or_file_ptr = 0;




2.  In us_glue.c, to the switch in SetWidgetAttribute():

/* MH mod 4/4/91: adding some text attributes */
    case 'e':
	if (!STRCMP(att, "editType"))
	{
	    if (m->simple.type == TKTEXT)
	    {
		((Text *) m->simple.widget)->edit_type = (val[0] == 'e')?
			XttextEdit : XttextRead;
	    }
	    else
	    {
		printf("%s: widget doesn't have attribute %s\n",
		       func, att);
		exit(1);
	    }
	    XtSetArg(arglist[0], XtNeditType, (val[0] == 'e')? 
			XttextEdit : XttextRead);
	    XtSetValues(m->simple.widgetptr, arglist, 1);
	    return;

	}
	break;

/* End MH mod */

    case 'l':
	if (!STRCMP(att, "label"))
	{
	    if (m->simple.type == BUTTON)
	    {
		((Button *) m->simple.widget)->label = xsave_string(val);
	    }
	    else
	    {
		printf("%s: widget doesn't have attribute %s\n",
		       func, att);
		exit(1);
	    }
	    XtSetArg(arglist[0], XtNlabel, val);
	    XtSetValues(m->simple.widgetptr, arglist, 1);
	    return;
	}
	break;

/* MH mod 4/4/91: adding some text attributes */
    case 'o':
	if (!STRCMP(att, "options"))
	{
	    if (m->simple.type == TKTEXT)
	    {
		((Text *) m->simple.widget)->options = atoi(val);
	    }
	    else
	    {
		printf("%s: widget doesn't have attribute %s\n",
		       func, att);
		exit(1);
	    }
	    XtSetArg(arglist[0], XtNeditType, atoi(val));
	    XtSetValues(m->simple.widgetptr, arglist, 1);
	    return;

	}
	break;

/* End MH mod */
