summaryrefslogtreecommitdiff
path: root/src/List.c
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:28 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:28 +0000
commit2d65da503c6974ff928abb158a6f1a253842b8af (patch)
tree6cdb7dfe47db72f22011ed7e20f2c4c3418618dc /src/List.c
parentc7f720ae3f0dea94bc6e9eb9bdbbf00e6bb16b24 (diff)
downloadxorg-lib-libXaw-2d65da503c6974ff928abb158a6f1a253842b8af.tar.gz
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
*/