projects
/
m17n
/
libotf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83fa811
)
(OTF_check_features): Fix indexing to feature_list->Feature.
author
handa
<handa>
Mon, 23 May 2005 00:23:02 +0000
(
00:23
+0000)
committer
handa
<handa>
Mon, 23 May 2005 00:23:02 +0000
(
00:23
+0000)
src/otfopen.c
patch
|
blob
|
history
diff --git
a/src/otfopen.c
b/src/otfopen.c
index
0b4dc12
..
5727198
100644
(file)
--- 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;