From cf06418438e5329f5627fc09ca1c912831dd7cf8 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 24 Feb 2009 11:57:32 +0000 Subject: [PATCH] (fontset_find_font): Fix the condition for checking unavailable font. --- src/fontset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontset.c b/src/fontset.c index 03d093fa09..e988459ff3 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; -- 2.20.1