summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/strc-flt.mklx
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-01-24 16:24:42 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-01-24 16:24:42 +0100
commitc80fc815f3b6db50716f9fe56f86ce068728221f (patch)
treeb8cb7a598c23a4758c48dd88be55ef849c8c76a8 /tex/context/base/mkxl/strc-flt.mklx
parentdee0d939a50007dbe52f7035d67c01a78289e585 (diff)
downloadcontext-c80fc815f3b6db50716f9fe56f86ce068728221f.tar.gz
2021-01-24 16:05:00
Diffstat (limited to 'tex/context/base/mkxl/strc-flt.mklx')
-rw-r--r--tex/context/base/mkxl/strc-flt.mklx7
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/strc-flt.mklx b/tex/context/base/mkxl/strc-flt.mklx
index 58c72c0fc..f5d2b3c97 100644
--- a/tex/context/base/mkxl/strc-flt.mklx
+++ b/tex/context/base/mkxl/strc-flt.mklx
@@ -1576,7 +1576,12 @@
{\bgroup
\strc_floats_set_local_hsize
\ifcase\c_strc_floats_rotation\else
- \swapdimens\hsize\vsize
+ % Swapping fails in overloadmode and is also wrong (as it then is persistent due
+ % to global being inherited).
+ %\swapdimens\hsize\vsize
+ \scratchdimen\hsize
+ \hsize\vsize
+ \vsize\scratchdimen
\fi
\forgetall
\postponenotes