From: handa Date: Mon, 11 Jul 2005 01:01:12 +0000 (+0000) Subject: (read_gsub_gpos_table): Set *table->address earlier. X-Git-Tag: REL-0-9-5~51 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1ee5e676bf9c61a9d3a221cddb68a72d6b03a4dd;p=m17n%2Flibotf.git (read_gsub_gpos_table): Set *table->address earlier. (OTF_check_features): Set script_list and feature_list according to gsubp. --- 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; }