summaryrefslogtreecommitdiff
path: root/src/List.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/List.c')
-rw-r--r--src/List.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/List.c b/src/List.c
index e298f3a..e93dc4e 100644
--- a/src/List.c
+++ b/src/List.c
@@ -471,6 +471,10 @@ XawListInitialize(Widget temp1, Widget cnew, ArgList args, Cardinal *num_args)
{
ListWidget lw = (ListWidget)cnew;
+ if (!lw->list.font) XtError("Aborting: no font found\n");
+ if (lw->simple.international && !lw->list.fontset)
+ XtError("Aborting: no fontset found\n");
+
/*
* Initialize all private resources
*/