(uniscribe_check_otf): Fix last change.
authorJason Rumney <jasonr@gnu.org>
Fri, 4 Apr 2008 07:59:20 +0000 (07:59 +0000)
committerJason Rumney <jasonr@gnu.org>
Fri, 4 Apr 2008 07:59:20 +0000 (07:59 +0000)
src/ChangeLog
src/w32uniscribe.c

index 5ae4fc6..312183e 100644 (file)
@@ -1,3 +1,7 @@
+2008-04-04  Jason Rumney  <jasonr@gnu.org>
+
+       * w32uniscribe.c (uniscribe_check_otf): Fix last change.
+
 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * insdel.c (insert_from_buffer_1): Don't compare bytes in destination
index ed29955..2641aea 100644 (file)
@@ -565,7 +565,7 @@ int uniscribe_check_otf (font, otf_spec)
   int i, retval = 0;
 
   /* Check the spec is in the right format.  */
-  if (!CONSP (otf_spec) || Flength (val) < 3)
+  if (!CONSP (otf_spec) || Flength (otf_spec) < 3)
     return 0;
 
   /* Break otf_spec into its components.  */