Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
df7e1ea0
Commit
df7e1ea0
authored
Feb 27, 2010
by
Andreas Schwab
Browse files
* w32uniscribe.c (uniscribe_check_otf): Fix length check.
parent
8ff35869
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/w32uniscribe.c
src/w32uniscribe.c
+1
-1
No files found.
src/ChangeLog
View file @
df7e1ea0
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",
...
...
src/w32uniscribe.c
View file @
df7e1ea0
...
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment