summaryrefslogtreecommitdiff
path: root/src/Tip.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:53:09 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-02-11 10:53:09 +0000
commit9a9e4ed7a8530a77937efd695c6123d886fe6677 (patch)
tree6fa5c1fae2367eb93edf6ada3beada3f95f2bb00 /src/Tip.c
parentfcde358d5e3b62bcf1d5e488e8021db8340eef5f (diff)
downloadxorg-lib-libXaw-CYGWIN.tar.gz
Import changes from XORG-6.8.2CYGWIN-6_8_2-MERGECYGWIN
Diffstat (limited to 'src/Tip.c')
-rw-r--r--src/Tip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Tip.c b/src/Tip.c
index 97c527b..0acfb2c 100644
--- a/src/Tip.c
+++ b/src/Tip.c
@@ -243,6 +243,10 @@ XawTipInitialize(Widget req, Widget w, ArgList args, Cardinal *num_args)
TipWidget tip = (TipWidget)w;
XGCValues values;
+ if (!tip->tip.font) XtError("Aborting: no font found\n");
+ if (tip->tip.international && !tip->tip.fontset)
+ XtError("Aborting: no fontset found\n");
+
tip->tip.timer = 0;
values.foreground = tip->tip.foreground;