From 3187540effa794d27f69b2514223c1a82bc8e3e7 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Fri, 4 Apr 2008 07:59:20 +0000 Subject: [PATCH] (uniscribe_check_otf): Fix last change. --- src/ChangeLog | 4 ++++ src/w32uniscribe.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 5ae4fc6beb8..312183e42aa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-04-04 Jason Rumney + + * w32uniscribe.c (uniscribe_check_otf): Fix last change. + 2008-04-03 Stefan Monnier * insdel.c (insert_from_buffer_1): Don't compare bytes in destination diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c index ed29955efe9..2641aead054 100644 --- a/src/w32uniscribe.c +++ b/src/w32uniscribe.c @@ -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. */ -- 2.39.5