chiark
/
gitweb
/
~bjharris
/
bedstead-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689b4a7
)
Add comments with feature tags for FeatureIndices
author
Ben Harris
<bjh21@bjh21.me.uk>
Wed, 29 Jan 2025 21:40:32 +0000
(21:40 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Wed, 29 Jan 2025 21:40:32 +0000
(21:40 +0000)
bedstead.c
patch
|
blob
|
history
diff --git
a/bedstead.c
b/bedstead.c
index 3c5c890201c47d98c4739bed9ab4771ebd067289..14b1debe8af9fb4d7de421aa82567c5ff62175db 100644
(file)
--- a/
bedstead.c
+++ b/
bedstead.c
@@
-3889,8
+3889,10
@@
dogsub(void)
printf("<Script><DefaultLangSys>\n");
TTXI("ReqFeatureIndex", 0xffff); /* No required feature. */
for (j = 0; j < lenof(gsub_features); j++)
- if (gsub_features[j].scripts & gsub_scripts[i].flag)
+ if (gsub_features[j].scripts & gsub_scripts[i].flag) {
+ printf("<!-- %s --> ", gsub_features[j].tag);
TTXI("FeatureIndex", j);
+ }
printf("</DefaultLangSys></Script>\n");
printf("</ScriptRecord>\n");
}