summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkxl/s-colors-show.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-12-21 18:00:37 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-12-21 18:00:37 +0100
commit36355f3d0c23357fccf2c76b3e9605a41cae519d (patch)
tree7b2bfa701a21ed8b075deba24112583461706770 /tex/context/modules/mkxl/s-colors-show.mkxl
parent8f472c629a996f1c08281198210354a253d7f56b (diff)
downloadcontext-36355f3d0c23357fccf2c76b3e9605a41cae519d.tar.gz
2022-12-21 17:12:00
Diffstat (limited to 'tex/context/modules/mkxl/s-colors-show.mkxl')
-rw-r--r--tex/context/modules/mkxl/s-colors-show.mkxl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/modules/mkxl/s-colors-show.mkxl b/tex/context/modules/mkxl/s-colors-show.mkxl
index aa0e3227e..3f1692f98 100644
--- a/tex/context/modules/mkxl/s-colors-show.mkxl
+++ b/tex/context/modules/mkxl/s-colors-show.mkxl
@@ -84,7 +84,7 @@
\scratchwidth\wd\scratchbox
\fi}%
\colo_palets_process[#1]\colo_palets_show_palet}%
- \advance\scratchwidth\emwidth
+ \advanceby\scratchwidth\emwidth
\ifdim\scratchwidth<5\emwidth
\scratchwidth5\emwidth
\fi
@@ -219,7 +219,7 @@
\setlocalhsize
\hsize\localhsize
\scratchcounter\zerocount
- \dorecurse{15}{\doifcolor{#2:\recurselevel}{\advance\scratchcounter\plusone}}
+ \dorecurse{15}{\doifcolor{#2:\recurselevel}{\advanceby\scratchcounter\plusone}}
\scratchwidth2\emwidth\relax
\hsize\scratchcounter\scratchwidth
\dorecurse\scratchcounter{\colo_groups_compare_step{#1}{#2}\recurselevel}}}