From: handa Date: Tue, 14 Jun 2005 11:08:43 +0000 (+0000) Subject: (OTF_check_features): Treat feature tag 0 as wildcard. X-Git-Tag: REL-0-9-5~59 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e5f75e52deefb6812d026fea887b7b998d7fab4e;p=m17n%2Flibotf.git (OTF_check_features): Treat feature tag 0 as wildcard. --- diff --git a/src/otfopen.c b/src/otfopen.c index abd1909..b9e93fd 100644 --- a/src/otfopen.c +++ b/src/otfopen.c @@ -2956,6 +2956,8 @@ OTF_check_features (OTF *otf, int gsubp, { OTF_Tag feature = features[j]; + if (feature == 0) + continue; for (i = 0; i < LangSys->FeatureCount; i++) if (feature_list->Feature[LangSys->FeatureIndex[i]].FeatureTag == feature)