changeset 53622:5aba50936662

(fontset_font_pattern): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Mon, 19 Jan 2004 00:22:03 +0000
parents d8c0a8adca52
children 47b199ab67ae
files src/fontset.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.c	Sun Jan 18 20:26:39 2004 +0000
+++ b/src/fontset.c	Mon Jan 19 00:22:03 2004 +0000
@@ -598,7 +598,8 @@
       fontset = FONTSET_FROM_ID (id);
       xassert (!BASE_FONTSET_P (fontset));
       fontset = FONTSET_BASE (fontset);
-      elt = FONTSET_REF (fontset, c);
+      if (! EQ (fontset, Vdefault_fontset))
+	elt = FONTSET_REF (fontset, c);
     }
   if (NILP (elt))
     {