diff options
| author | Kenichi Handa | 2009-02-24 11:57:32 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2009-02-24 11:57:32 +0000 |
| commit | cf06418438e5329f5627fc09ca1c912831dd7cf8 (patch) | |
| tree | c344ab643d6596ac9c594c56f7168464c40c1b0a /src | |
| parent | 8810a12f1c07d282c94f68bd3627fb1386c89160 (diff) | |
| download | emacs-cf06418438e5329f5627fc09ca1c912831dd7cf8.tar.gz emacs-cf06418438e5329f5627fc09ca1c912831dd7cf8.zip | |
(fontset_find_font): Fix the condition for checking
unavailable font.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fontset.c | 2 |
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) | |||
| 579 | /* This is a sign of not to try the other fonts. */ | 579 | /* This is a sign of not to try the other fonts. */ |
| 580 | return Qt; | 580 | return Qt; |
| 581 | if (INTEGERP (RFONT_DEF_FACE (elt)) | 581 | if (INTEGERP (RFONT_DEF_FACE (elt)) |
| 582 | && XINT (AREF (elt, 1)) < 0) | 582 | && XINT (RFONT_DEF_FACE (elt)) < 0) |
| 583 | /* We couldn't open this font last time. */ | 583 | /* We couldn't open this font last time. */ |
| 584 | continue; | 584 | continue; |
| 585 | 585 | ||