summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/typo-hid.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/typo-hid.mkxl')
-rw-r--r--tex/context/base/mkxl/typo-hid.mkxl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/typo-hid.mkxl b/tex/context/base/mkxl/typo-hid.mkxl
index 8ee953cc1..13d8f14ca 100644
--- a/tex/context/base/mkxl/typo-hid.mkxl
+++ b/tex/context/base/mkxl/typo-hid.mkxl
@@ -19,7 +19,7 @@
\unprotect
-\newcount\c_typo_hidden_level
+\newinteger\c_typo_hidden_level
\permanent\protected\def\starthiddencontent
{\ifcase\c_typo_hidden_level
@@ -27,10 +27,10 @@
\let\clf_enablehidecontent\relax
\attribute\hidecontentattribute\plusone
\fi
- \advance\c_typo_hidden_level\plusone}
+ \advanceby\c_typo_hidden_level\plusone}
\permanent\protected\def\stophiddencontent
- {\advance\c_typo_hidden_level\minusone
+ {\advanceby\c_typo_hidden_level\minusone
\ifcase\c_typo_hidden_level
\attribute\hidecontentattribute\attributeunsetvalue
\fi}