changeset 93588:917824e47986

(ftfont_get_open_type_spec): Check spec->script, not val.
author Jason Rumney <jasonr@gnu.org>
date Thu, 03 Apr 2008 08:16:54 +0000
parents f4738cb320e1
children 91c1bfd462dc
files src/ftfont.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ftfont.c	Thu Apr 03 05:13:15 2008 +0000
+++ b/src/ftfont.c	Thu Apr 03 08:16:54 2008 +0000
@@ -355,7 +355,7 @@
   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);