1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

ftfont.c (get_adstyle_property): Fix previous change (Bug#10233).

This commit is contained in:
Kenichi Handa 2011-12-08 11:34:09 +09:00
parent 6e44397c4a
commit 745fff94a0
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-12-08 Kenichi Handa <handa@m17n.org>
* ftfont.c (get_adstyle_property): Fix previous change
(Bug#10233).
2011-12-07 Juanma Barranquero <lekktu@gmail.com>
* w32.c (init_environment): If no_site_lisp, remove site-lisp

View File

@ -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