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:
7ce763c
)
(OTF_check_features): Treat feature tag 0 as wildcard.
author
handa
<handa>
Tue, 14 Jun 2005 11:08:43 +0000
(11:08 +0000)
committer
handa
<handa>
Tue, 14 Jun 2005 11:08:43 +0000
(11:08 +0000)
src/otfopen.c
patch
|
blob
|
history
diff --git
a/src/otfopen.c
b/src/otfopen.c
index
abd1909
..
b9e93fd
100644
(file)
--- 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)