diff options
Diffstat (limited to 'tex/context/base/mkxl/core-dat.mkxl')
-rw-r--r-- | tex/context/base/mkxl/core-dat.mkxl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/core-dat.mkxl b/tex/context/base/mkxl/core-dat.mkxl index 540f5b747..ab40d874c 100644 --- a/tex/context/base/mkxl/core-dat.mkxl +++ b/tex/context/base/mkxl/core-dat.mkxl @@ -84,7 +84,7 @@ \installcommandhandler \??pagestate {pagestate} \??pagestate \def\syst_pagestates_allocate - {\expandafter\newcount\csname\??pagestatecounter\currentpagestate\endcsname} + {\expandafter\newinteger\csname\??pagestatecounter\currentpagestate\endcsname} \appendtoks \syst_pagestates_allocate @@ -98,7 +98,7 @@ \edef\currentpagestate{#1}% \ifcsname\??pagestatecounter\currentpagestate\endcsname \scratchcounter\lastnamedcs - \advance\scratchcounter\plusone + \advanceby\scratchcounter\plusone \else \scratchcounter\plusone \syst_pagestates_allocate |