From 8f955f59e7afb8a27ae2da29a49c85bdcaf19876 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 23 May 2005 00:23:02 +0000 Subject: [PATCH] (OTF_check_features): Fix indexing to feature_list->Feature. --- src/otfopen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/otfopen.c b/src/otfopen.c index 0b4dc12..5727198 100644 --- a/src/otfopen.c +++ b/src/otfopen.c @@ -2949,7 +2949,8 @@ OTF_check_features (OTF *otf, int gsubp, OTF_Tag feature = features[j]; for (i = 0; i < LangSys->FeatureCount; i++) - if (feature_list->Feature[i].FeatureTag == feature) + if (feature_list->Feature[LangSys->FeatureIndex[i]].FeatureTag + == feature) break; if (i == LangSys->FeatureCount) return 0; -- 1.7.10.4