summaryrefslogtreecommitdiff
path: root/src/fontset.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2004-01-19 00:22:03 +0000
committerKenichi Handa <handa@m17n.org>2004-01-19 00:22:03 +0000
commit6e9ac1643ee4930e826fae7c62459273d2b16b72 (patch)
treebd9a88f81f594dbf824c99ecd28b36d1d54d2d7d /src/fontset.c
parentf6903b7e1d545fc6c45368a59dd71f87125bdbed (diff)
downloademacs-6e9ac1643ee4930e826fae7c62459273d2b16b72.tar.gz
(fontset_font_pattern): Fix previous change.
Diffstat (limited to 'src/fontset.c')
-rw-r--r--src/fontset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fontset.c b/src/fontset.c
index 402561db005..6ed1efff092 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -598,7 +598,8 @@ fontset_font_pattern (f, id, c)
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))
{