Commits

Anonymous committed 3b9c88c

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

  • Participants
  • Parent commits 35646b8

Comments (0)

Files changed (2)

File src/ChangeLog

+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

File src/ftfont.c

 
 #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