[latex3-commits] [git/LaTeX3-latex3-latex2e] picture-lengths: correction to dashbox change (3a55ddd6)

David Carlisle d.p.carlisle at gmail.com
Sat Aug 15 15:37:24 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : picture-lengths
Link       : https://github.com/latex3/latex2e/commit/3a55ddd671db188d088364f85deb1c0e7716f4c1

>---------------------------------------------------------------

commit 3a55ddd671db188d088364f85deb1c0e7716f4c1
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sat Aug 15 14:37:24 2020 +0100

    correction to dashbox change


>---------------------------------------------------------------

3a55ddd671db188d088364f85deb1c0e7716f4c1
 base/ltpictur.dtx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/base/ltpictur.dtx b/base/ltpictur.dtx
index c0a169f1..ff4cfc7a 100644
--- a/base/ltpictur.dtx
+++ b/base/ltpictur.dtx
@@ -1020,15 +1020,15 @@
 \put(#2,#3){\lower\@dashdim\copy\@dashbox}%
 \multiply\@dashdim \thr@@
 \fi
+\@defaultunitsset\@tempdimc{#1}\unitlength
 \setbox\@dashbox\hbox{%
-  \@defaultunitsset\@tempdimc{#1}\unitlength
   \vrule \@width \@wholewidth \@height\@tempdimc}%
 \@tempcnta\z@
 \put(0,0){\hskip -\@halfwidth \vbox{\@whilenum \@tempcnta <\@dashcnt
-\do{\vskip\@height\copy\@dashbox\advance\@tempcnta \@ne }%
+\do{\vskip\@tempdimc\copy\@dashbox\advance\@tempcnta \@ne }%
 \vskip\@dashdim}}\@tempcnta\z@
 \put(#2,0){\hskip -\@halfwidth \vbox{\@whilenum \@tempcnta<\@dashcnt
-\do{\vskip\@height\copy\@dashbox\advance\@tempcnta \@ne }%
+\do{\vskip\@tempdimc\copy\@dashbox\advance\@tempcnta \@ne }%
 \vskip\@dashdim}}}\@makepicbox(#2,#3)}
 %</2ekernel|latexrelease>
 %    \end{macrocode}





More information about the latex3-commits mailing list.