diff src/ftfont.c @ 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 7ba52081e343
children 37f386db63ed
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);