aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/w32uniscribe.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ac909cc7885..6cafe2f60a5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12010-02-27 Andreas Schwab <schwab@linux-m68k.org>
2
3 * w32uniscribe.c (uniscribe_check_otf): Fix length check.
4
12010-02-27 Chong Yidong <cyd@stupidchicken.com> 52010-02-27 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * font.c (font_parse_fcname): Recognize "Book", "Condensed", 7 * font.c (font_parse_fcname): Recognize "Book", "Condensed",
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c
index f2bd0f44b50..cfdf629ceee 100644
--- a/src/w32uniscribe.c
+++ b/src/w32uniscribe.c
@@ -666,7 +666,7 @@ int uniscribe_check_otf (font, otf_spec)
666 struct gcpro gcpro1; 666 struct gcpro gcpro1;
667 667
668 /* Check the spec is in the right format. */ 668 /* Check the spec is in the right format. */
669 if (!CONSP (otf_spec) || Flength (otf_spec) < 3) 669 if (!CONSP (otf_spec) || XINT (Flength (otf_spec)) < 3)
670 return 0; 670 return 0;
671 671
672 /* Break otf_spec into its components. */ 672 /* Break otf_spec into its components. */