summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-28 15:10:21 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-28 15:10:21 +0000
commitf8c39f5172952fda9c8e8aed960456a05ff9566e (patch)
tree84e32fa8a08712dc83bd84af21466db4b43be76f
parent4f5c44033032558a1a27f4bf922c44dc30a416a2 (diff)
downloademacs-f8c39f5172952fda9c8e8aed960456a05ff9566e.tar.gz
(x_term_init) [! HAVE_X11R5]: Don't try to use XtCvtStringToFont.
-rw-r--r--src/xterm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index b79a32954c8..cc29cf915a7 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7020,6 +7020,7 @@ x_term_init (display_name, xrm_option, resource_name)
#endif /* ! defined (SIGIO) */
#ifdef USE_LUCID
+#ifdef HAVE_X11R5 /* It seems X11R4 lacks XtCvtStringToFont, and XPointer. */
/* Make sure that we have a valid font for dialog boxes
so that Xt does not crash. */
{
@@ -7042,6 +7043,7 @@ x_term_init (display_name, xrm_option, resource_name)
x_uncatch_errors (dpy, count);
}
#endif
+#endif
UNBLOCK_INPUT;