]> git.eshelyaron.com Git - emacs.git/commitdiff
ftfont.c (get_adstyle_property): Fix previous change (Bug#10233).
authorKenichi Handa <handa@m17n.org>
Thu, 8 Dec 2011 02:34:09 +0000 (11:34 +0900)
committerKenichi Handa <handa@m17n.org>
Thu, 8 Dec 2011 02:34:09 +0000 (11:34 +0900)
src/ChangeLog
src/ftfont.c

index 9ee5ccc1f5eea213f8311cf9bd9512bf0768fa36..71b1b3fa82ce81468d1aac52c10fee8db6d0fc40 100644 (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
index ec1a4ca6a78a5498f4df9aaf790310b82ec90036..bab97e44fabe28a6c5667e5159047bbc14c967e0 100644 (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