Commit df7e1ea0 authored by Andreas Schwab's avatar Andreas Schwab

* w32uniscribe.c (uniscribe_check_otf): Fix length check.

parent 8ff35869
2010-02-27 Andreas Schwab <schwab@linux-m68k.org>
* w32uniscribe.c (uniscribe_check_otf): Fix length check.
2010-02-27 Chong Yidong <cyd@stupidchicken.com>
* font.c (font_parse_fcname): Recognize "Book", "Condensed",
......
......@@ -666,7 +666,7 @@ int uniscribe_check_otf (font, otf_spec)
struct gcpro gcpro1;
/* Check the spec is in the right format. */
if (!CONSP (otf_spec) || Flength (otf_spec) < 3)
if (!CONSP (otf_spec) || XINT (Flength (otf_spec)) < 3)
return 0;
/* Break otf_spec into its components. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment