Commit 43f4f91c authored by Jason Rumney's avatar Jason Rumney
Browse files

(ftfont_get_open_type_spec): Check spec->script, not val.

parent a086d081
2008-04-03 Jason Rumney <jasonr@gnu.org>
* ftfont.c (ftfont_get_open_type_spec): Check spec->script, not val.
2008-04-02 Chong Yidong <cyd@stupidchicken.com> 2008-04-02 Chong Yidong <cyd@stupidchicken.com>
* callint.c (Vshift_select_mode): New var. * callint.c (Vshift_select_mode): New var.
......
...@@ -355,7 +355,7 @@ ftfont_get_open_type_spec (Lisp_Object otf_spec) ...@@ -355,7 +355,7 @@ ftfont_get_open_type_spec (Lisp_Object otf_spec)
if (! spec) if (! spec)
return NULL; return NULL;
spec->script = XCAR (otf_spec); spec->script = XCAR (otf_spec);
if (! NILP (val)) if (! NILP (spec->script))
{ {
OTF_SYM_TAG (spec->script, spec->script_tag); OTF_SYM_TAG (spec->script, spec->script_tag);
val = assq_no_quit (spec->script, Votf_script_alist); val = assq_no_quit (spec->script, Votf_script_alist);
......
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