(fontset_find_font): Fix the condition for checking
authorKenichi Handa <handa@m17n.org>
Tue, 24 Feb 2009 11:57:32 +0000 (11:57 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 24 Feb 2009 11:57:32 +0000 (11:57 +0000)
unavailable font.

src/fontset.c

index 03d093f..e988459 100644 (file)
@@ -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;