summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2009-02-24 11:57:32 +0000
committerKenichi Handa <handa@m17n.org>2009-02-24 11:57:32 +0000
commitcf06418438e5329f5627fc09ca1c912831dd7cf8 (patch)
treec344ab643d6596ac9c594c56f7168464c40c1b0a /src
parent8810a12f1c07d282c94f68bd3627fb1386c89160 (diff)
downloademacs-cf06418438e5329f5627fc09ca1c912831dd7cf8.tar.gz
(fontset_find_font): Fix the condition for checking
unavailable font.
Diffstat (limited to 'src')
-rw-r--r--src/fontset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontset.c b/src/fontset.c
index 03d093fa09d..e988459ff34 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -579,7 +579,7 @@ fontset_find_font (fontset, c, face, id, fallback)
/* This is a sign of not to try the other fonts. */
return Qt;
if (INTEGERP (RFONT_DEF_FACE (elt))
- && XINT (AREF (elt, 1)) < 0)
+ && XINT (RFONT_DEF_FACE (elt)) < 0)
/* We couldn't open this font last time. */
continue;