diff options
author | Kenichi Handa <[email protected]> | 2011-12-08 11:34:09 +0900 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2011-12-08 11:34:09 +0900 |
commit | 745fff94a04a8a959a0c3cf1a1d2db8531d38576 (patch) | |
tree | 8772c77d45a314b8ce88d0d3cdcd1173a9cc012a /src/ftfont.c | |
parent | 6e44397c4a000df50237a57ef089989e6c4bbc5e (diff) |
ftfont.c (get_adstyle_property): Fix previous change (Bug#10233).
Diffstat (limited to 'src/ftfont.c')
-rw-r--r-- | src/ftfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index ec1a4ca6a7..bab97e44fa 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -166,8 +166,8 @@ get_adstyle_property (FcPattern *p) #ifdef FC_FONTFORMAT if ((FcPatternGetString (p, FC_FONTFORMAT, 0, &fcstr) == FcResultMatch) - && (xstrcasecmp ((char *) fcstr, "bdf") != 0 - || xstrcasecmp ((char *) fcstr, "pcf") != 0)) + && xstrcasecmp ((char *) fcstr, "bdf") != 0 + && xstrcasecmp ((char *) fcstr, "pcf") != 0) /* Not a BDF nor PCF font. */ return Qnil; #endif |