summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/optex/base/sections.opm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/optex/base/sections.opm')
-rw-r--r--Master/texmf-dist/tex/luatex/optex/base/sections.opm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/optex/base/sections.opm b/Master/texmf-dist/tex/luatex/optex/base/sections.opm
index 20f3f063dd3..0bfcb8e74e9 100644
--- a/Master/texmf-dist/tex/luatex/optex/base/sections.opm
+++ b/Master/texmf-dist/tex/luatex/optex/base/sections.opm
@@ -241,9 +241,9 @@
\_newskip \_savedtitleskip
\_newskip \_savedlastskip
\_def\_abovetitle #1#2{\_savedlastskip=\_lastskip % <whatever-skip>
- \_ifdim\_lastskip>0pt \_vskip-\_lastskip \_fi
+ \_ifdim\_lastskip>\_zo \_vskip-\_lastskip \_fi
\_ifnum\_lastpenalty=11333 \_vskip-\_savedtitleskip \_else #1\_fi
- \_ifdim\_savedlastskip>0pt \_setbox0=\_vbox{#2\_global\_tmpdim=\_lastskip}%
+ \_ifdim\_savedlastskip>\_zo \_setbox0=\_vbox{#2\_global\_tmpdim=\_lastskip}%
\_else \_tmpdim=\_maxdimen \_fi
\_ifdim\_savedlastskip>\_tmpdim \vskip\_savedlastskip \_else #2\_fi
}