fix url bar widget

This commit is contained in:
NishiOwO 2025-03-23 12:44:25 +09:00
parent 0439a51020
commit 411e3f760c
No known key found for this signature in database
GPG Key ID: 27EF69B208EB9343

View File

@ -178,9 +178,8 @@ HTMLRoot *r;
NULL, ZERO);
r->titledisplay = XtCreateManagedWidget("titledisplay",
scrollingTextWidgetClass, form,
asciiTextWidgetClass, form,
NULL, ZERO);
r->titledisplay = XtNameToWidget(r->titledisplay, "text");
}
else
{
@ -201,9 +200,8 @@ HTMLRoot *r;
NULL, ZERO);
r->urldisplay = XtCreateManagedWidget("urldisplay",
scrollingTextWidgetClass, form,
asciiTextWidgetClass, form,
NULL, ZERO);
r->urldisplay = XtNameToWidget(r->urldisplay, "text");
}
else
{