1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-12 01:42:37 -07:00

(ftfont_list): Fix typo.

This commit is contained in:
Kenichi Handa 2006-07-07 01:07:45 +00:00
parent e9a8ed3c32
commit 25a5d05bdf

View file

@ -416,7 +416,7 @@ ftfont_list (frame, spec)
spacing = XINT (XCDR (tmp));
tmp = assq_no_quit (QCscalable, extra);
if (CONSP (tmp))
spacing = ! NILP (XCDR (tmp));
scalable = ! NILP (XCDR (tmp));
}
if (STRINGP (font_name))
@ -462,7 +462,7 @@ ftfont_list (frame, spec)
&& ! FcPatternAddInteger (pattern, FC_SPACING, spacing))
goto err;
if (scalable >= 0
&& ! FcPatternAddBool (pattern, FC_SPACING, spacing ? FcTrue : FcFalse))
&& ! FcPatternAddBool (pattern, FC_SCALABLE, scalable ? FcTrue : FcFalse))
goto err;
objset = FcObjectSetBuild (FC_FOUNDRY, FC_FAMILY, FC_WEIGHT, FC_SLANT,