changeset 90445:663318f2775b

(x_new_fontset2): If an ASCII font couldn't be loaded, return Qnil.
author Kenichi Handa <handa@m17n.org>
date Fri, 09 Jun 2006 02:16:05 +0000
parents cd20cf7f26f9
children c0ff181147ca
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Jun 09 02:15:49 2006 +0000
+++ b/src/xterm.c	Fri Jun 09 02:16:05 2006 +0000
@@ -8200,6 +8200,8 @@
     return Qnil;
 
   font = fontset_ascii_font (f, fontset);
+  if (! font)
+    return Qnil;
   xfont = font->font.font;
 
   if (FRAME_FONT (f) == xfont)