{
feature = FeatureList->Feature + index;
for (j = 0; j < feature->LookupCount; j++)
- lookup_flags[feature->LookupListIndex[j]] = i + 1;
+ lookup_flags[feature->LookupListIndex[j]] = index + 1;
}
}
break;
tag = OTF_tag (tagname);
for (i = 0; i < LangSys->FeatureCount; i++)
{
- feature = FeatureList->Feature + LangSys->FeatureIndex[i];
+ int index = LangSys->FeatureIndex[i];
+
+ feature = FeatureList->Feature + index;
if (tag == feature->FeatureTag)
{
if (feature_table[i])
break;
if (use_it > 0)
for (j = 0; j < feature->LookupCount; j++)
- lookup_flags[feature->LookupListIndex[j]] = j + 1;
+ lookup_flags[feature->LookupListIndex[j]] = index + 1;
feature_table[i] = use_it;
break;
}