]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_new_fontset2): If an ASCII font couldn't be loaded,
authorKenichi Handa <handa@m17n.org>
Fri, 9 Jun 2006 02:16:05 +0000 (02:16 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 9 Jun 2006 02:16:05 +0000 (02:16 +0000)
return Qnil.

src/xterm.c

index 7407585ebf0c8e0e8d671c79bcb1d1baaa07d772..d5253e27906fa77a430aad33bae70c77790b3f64 100644 (file)
@@ -8200,6 +8200,8 @@ x_new_fontset2 (f, fontsetname)
     return Qnil;
 
   font = fontset_ascii_font (f, fontset);
+  if (! font)
+    return Qnil;
   xfont = font->font.font;
 
   if (FRAME_FONT (f) == xfont)