diff options
author | Jason Rumney <[email protected]> | 2008-04-03 08:17:15 +0000 |
---|---|---|
committer | Jason Rumney <[email protected]> | 2008-04-03 08:17:15 +0000 |
commit | 43f4f91cefe88952206b2cb53519acbaa162f98a (patch) | |
tree | 0d88816faa1b479d36232a6e94c9ff3bfaecdbbb /src/ftfont.c | |
parent | a086d081fae2a95d0c321b21cb4a1f05f634701b (diff) |
(ftfont_get_open_type_spec): Check spec->script, not val.
Diffstat (limited to 'src/ftfont.c')
-rw-r--r-- | src/ftfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index aac267b209..a3ce243f36 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -355,7 +355,7 @@ ftfont_get_open_type_spec (Lisp_Object otf_spec) if (! spec) return NULL; spec->script = XCAR (otf_spec); - if (! NILP (val)) + if (! NILP (spec->script)) { OTF_SYM_TAG (spec->script, spec->script_tag); val = assq_no_quit (spec->script, Votf_script_alist); |