From 1ee5e676bf9c61a9d3a221cddb68a72d6b03a4dd Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 11 Jul 2005 01:01:12 +0000 Subject: [PATCH] (read_gsub_gpos_table): Set *table->address earlier. (OTF_check_features): Set script_list and feature_list according to gsubp. --- src/otfopen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/otfopen.c b/src/otfopen.c index b484003..abb4636 100644 --- a/src/otfopen.c +++ b/src/otfopen.c @@ -1689,6 +1689,7 @@ read_gsub_gpos_table (OTF *otf, OTF_TableInfo *table, int gsubp, READ_OFFSET (stream, gsub_gpos->ScriptList.offset); READ_OFFSET (stream, gsub_gpos->FeatureList.offset); READ_OFFSET (stream, gsub_gpos->LookupList.offset); + *table->address = gsub_gpos; } if (! gsub_gpos->ScriptList.Script @@ -1710,8 +1711,6 @@ read_gsub_gpos_table (OTF *otf, OTF_TableInfo *table, int gsubp, } } - if (! *table->address) - *table->address = gsub_gpos; return gsub_gpos; } -- 1.7.10.4