summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-03 21:13:58 +0000
committerKarl Berry <karl@freefriends.org>2024-02-03 21:13:58 +0000
commit76f086f301589c0fc8c8f0c215eca0a82377d85a (patch)
tree20b708fc2b60a1b625c9ebe6470f92caa32ac07e /Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex
parentb0fe309be00e3d805ab19c3d51935bf7d39517f1 (diff)
wargame (3feb24)
git-svn-id: svn://tug.org/texlive/trunk@69692 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex')
-rw-r--r--Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex17
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex b/Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex
index 87ddffd4a95..b9a5b211723 100644
--- a/Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex
+++ b/Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex
@@ -293,12 +293,17 @@
save clip/.initial={false},
}
\def\wg@setcornersarched#1{%
- \ifx|#1|\else%
- \edef\pgf@corner@arc{{#1}{#1}}%
- \pgf@arccornerstrue%
- \ifdim#1=0pt%
- \pgf@arccornersfalse%
- \fi\fi}
+ \def\arg{#1}%
+ \let\isarched\relax% Cannot set \ifpgf@arccorners directly inside
+ % other \if
+ \ifx\arg\@empty\else%
+ \edef\pgf@corner@arc{{#1}{#1}}%
+ \let\isarched\pgf@arccornerstrue%
+ \ifdim#1=0pt%
+ \let\isarched\pgf@arccornersfalse%
+ \fi%
+ \fi%
+ \isarched}
\newdimen\wg@lw@scaled\wg@lw@scaled=1pt
\def\wg@getscale{%
\pgfgettransformentries{%