summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/tocstyle.sty')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/tocstyle.sty3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty b/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty
index 27a42c24aec..f940ae640b8 100644
--- a/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/tocstyle.sty
@@ -664,7 +664,8 @@
but there's no TOC style `#2' defined.}%
}{%
\def\settocfeature{%
- \@ifnextchar[ {\@@settocfeature[{#1}]}{\@@settocfeature[{#1}][]}%
+ \@ifnextchar[ %]
+ {\@@settocfeature[{#1}]}{\@@settocfeature[{#1}][]}%
}%
\let\settocstylefeature\settocfeature
\expandafter\ifx\csname tocstyle@commandlist@#1\endcsname\relax