summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/page-spr.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/page-spr.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/page-spr.mkiv6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/page-spr.mkiv b/Master/texmf-dist/tex/context/base/page-spr.mkiv
index 75b91dff773..fd01e584ca6 100644
--- a/Master/texmf-dist/tex/context/base/page-spr.mkiv
+++ b/Master/texmf-dist/tex/context/base/page-spr.mkiv
@@ -20,7 +20,7 @@
\newbox\spreadbox
\newif \ifinspread
-\chardef\showspreadmode\plusone
+\setnewconstant\showspreadmode\plusone
% beware, ugly overload, to be redone
@@ -43,7 +43,7 @@
\else
% prevent duplicate writes in normal run
\ifarrangingpages \else \ifcase\showspreadmode
- \global\setbox\spreadbox\null
+ \global\setbox\spreadbox\emptyhbox
\wd\spreadbox\makeupwidth
\ht\spreadbox\textheight
\fi \fi
@@ -56,7 +56,7 @@
\def\doflushspread
{\ifinspread \ifvoid\spreadbox\else
% this page will be discarded later
- \null \page
+ \emptyhbox \page
\fi \fi }
\unexpanded\def\startspread