[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r99570: * w32uniscribe.c (uniscribe_c
From: |
Andreas Schwab |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r99570: * w32uniscribe.c (uniscribe_check_otf): Fix length check. |
Date: |
Sat, 27 Feb 2010 15:28:52 +0100 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99570
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Sat 2010-02-27 15:28:52 +0100
message:
* w32uniscribe.c (uniscribe_check_otf): Fix length check.
modified:
src/ChangeLog
src/w32uniscribe.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-02-27 02:09:03 +0000
+++ b/src/ChangeLog 2010-02-27 14:28:52 +0000
@@ -1,3 +1,7 @@
+2010-02-27 Andreas Schwab <address@hidden>
+
+ * w32uniscribe.c (uniscribe_check_otf): Fix length check.
+
2010-02-27 Chong Yidong <address@hidden>
* font.c (font_parse_fcname): Recognize "Book", "Condensed",
=== modified file 'src/w32uniscribe.c'
--- a/src/w32uniscribe.c 2010-01-14 18:37:23 +0000
+++ b/src/w32uniscribe.c 2010-02-27 14:28:52 +0000
@@ -666,7 +666,7 @@
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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r99570: * w32uniscribe.c (uniscribe_check_otf): Fix length check.,
Andreas Schwab <=