summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/latexindent/LatexIndent/Switches.pm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-08 21:34:40 +0000
committerKarl Berry <karl@freefriends.org>2022-01-08 21:34:40 +0000
commita47a7cdd5e97b3173506c30afad63d5c1c7a92b5 (patch)
treec12a9df5a9a0853c7bb9c11b389e1895d35232d6 /Master/texmf-dist/scripts/latexindent/LatexIndent/Switches.pm
parent4674b6b4c73f8fc8cbbcf07ddf24956d2eb16d80 (diff)
latexindent (8jan22)
git-svn-id: svn://tug.org/texlive/trunk@61535 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/latexindent/LatexIndent/Switches.pm')
-rw-r--r--Master/texmf-dist/scripts/latexindent/LatexIndent/Switches.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/Switches.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/Switches.pm
index 360ac415043..a57722782b2 100644
--- a/Master/texmf-dist/scripts/latexindent/LatexIndent/Switches.pm
+++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/Switches.pm
@@ -33,6 +33,7 @@ sub store_switches{
# copy document switches into hash local to this module
%switches = %{${$self}{switches}};
+ $switches{version} = defined $switches{vversion} ? 1 : $switches{version};
$is_m_switch_active = defined $switches{modifyLineBreaks}?$switches{modifyLineBreaks}: 0;
$is_t_switch_active = defined $switches{trace}?$switches{trace}: 0;
$is_tt_switch_active = defined $switches{ttrace}?$switches{ttrace}: 0;