summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/type-ini.mklx
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/type-ini.mklx')
-rw-r--r--tex/context/base/mkxl/type-ini.mklx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/type-ini.mklx b/tex/context/base/mkxl/type-ini.mklx
index d750260e2..4842451e7 100644
--- a/tex/context/base/mkxl/type-ini.mklx
+++ b/tex/context/base/mkxl/type-ini.mklx
@@ -27,7 +27,7 @@
\unprotect
-\newcount \c_font_typescripts_n_of_preloaded
+\newinteger \c_font_typescripts_n_of_preloaded
\newconditional\c_font_typescripts_quit
\newtoks \c_font_typescripts_document
\newconditional\c_font_typescripts_preload
@@ -195,14 +195,14 @@
{\settrue\c_font_typescripts_quit} % public
\permanent\protected\def\font_typescripts_start_store#definitions\stoptypescript
- {\global\advance\c_font_typescripts_n_of_preloaded\plusone
+ {\global\advanceby\c_font_typescripts_n_of_preloaded\plusone
\gdefcsname\??typescriptcache\the\c_font_typescripts_n_of_preloaded\endcsname
{\starttypescript#definitions\stoptypescript}%
\gtoksapp\t_font_typescripts\expandafter
{\csname\??typescriptcache\the\c_font_typescripts_n_of_preloaded\endcsname}}
\permanent\protected\def\font_typescripts_collection_start_store#definitions\stoptypescriptcollection
- {\global\advance\c_font_typescripts_n_of_preloaded\plusone
+ {\global\advanceby\c_font_typescripts_n_of_preloaded\plusone
\gdefcsname\??typescriptcache\the\c_font_typescripts_n_of_preloaded\endcsname
{\starttypescriptcollection#definitions\stoptypescriptcollection}%
\gtoksapp\t_font_typescripts\expandafter