summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cjkpunct/setpunct/setpunct-macros.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/cjkpunct/setpunct/setpunct-macros.tex')
-rw-r--r--Master/texmf-dist/doc/latex/cjkpunct/setpunct/setpunct-macros.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/cjkpunct/setpunct/setpunct-macros.tex b/Master/texmf-dist/doc/latex/cjkpunct/setpunct/setpunct-macros.tex
index c02b653d75f..2036a0878a5 100644
--- a/Master/texmf-dist/doc/latex/cjkpunct/setpunct/setpunct-macros.tex
+++ b/Master/texmf-dist/doc/latex/cjkpunct/setpunct/setpunct-macros.tex
@@ -101,6 +101,9 @@
\fi
\cnta=-\temp@xwidth\relax
\advance\cnta 100\relax
+ \ifnum\cnta<0
+ \cnta=0\relax
+ \fi
\edef\temp@xspace{\the\cnta}}
\long\def\getleftupdimen#1%%BoundingBox: #2 #3 #4 #5 {