summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/spac-grd.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/spac-grd.mkxl')
-rw-r--r--tex/context/base/mkxl/spac-grd.mkxl10
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/mkxl/spac-grd.mkxl b/tex/context/base/mkxl/spac-grd.mkxl
index 65739cabe..33bf0c706 100644
--- a/tex/context/base/mkxl/spac-grd.mkxl
+++ b/tex/context/base/mkxl/spac-grd.mkxl
@@ -101,11 +101,11 @@
% \definecolor[GridLineColor][red]
% \definecolor[GridTextColor][blue]
-\newdimen\d_spac_lines_correction_before
-\newdimen\d_spac_lines_correction_after
+\newdimension\d_spac_lines_correction_before
+\newdimension\d_spac_lines_correction_after
-\newbox \b_spac_lines_correction_before
-\newbox \b_spac_lines_correction_after
+\newbox \b_spac_lines_correction_before
+\newbox \b_spac_lines_correction_after
\def\spac_lines_initialize_corrections
{\setbox\b_spac_lines_correction_before\hpack{\setstrut\strut}%
@@ -176,7 +176,7 @@
{\ifdim\pagegoal<\maxdimen
\ifdim\pagetotal>\lineheight % or \topskip
\scratchdimen\pagetotal
- \advance\scratchdimen\lineheight
+ \advanceby\scratchdimen\lineheight
\ifdim\scratchdimen<\pagegoal
\baselinecorrection
\fi