summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/trac-tex.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/trac-tex.mkxl')
-rw-r--r--tex/context/base/mkxl/trac-tex.mkxl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/trac-tex.mkxl b/tex/context/base/mkxl/trac-tex.mkxl
index 5e1c9e5bc..cf46bed26 100644
--- a/tex/context/base/mkxl/trac-tex.mkxl
+++ b/tex/context/base/mkxl/trac-tex.mkxl
@@ -56,14 +56,14 @@
\permanent\protected\def\profilemacro#1% an oldie, but modernized a bit
{\edef\p_name{\csstring#1}%
\ifcsname\??profilemacrocount\p_name\endcsname \else
- \expandafter\newcount\csname\??profilemacrocount\p_name\endcsname
+ \expandafter\newinteger\csname\??profilemacrocount\p_name\endcsname
\letcsname\??profilemacromacro\p_name\endcsname#1%
\xtoksapp\t_syst_profile
{\writestatus
{profile}%
{\string#1: \noexpand\the\csname\??profilemacrocount\p_name\endcsname}}%
\enforced\protected\xdef#1%
- {\global\advance\csname\??profilemacrocount\p_name\endcsname\plusone
+ {\global\advanceby\csname\??profilemacrocount\p_name\endcsname\plusone
\expandafter\noexpand\csname\??profilemacromacro\p_name\endcsname}%
\fi}