summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/driv-shp.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-10-15 12:19:43 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-10-15 12:19:43 +0200
commitc0c1dea1daf21f2c21f6d8094f54f67138998baf (patch)
tree1c9ea4021dd831004eaa41cb4bef34798fae7f46 /tex/context/base/mkxl/driv-shp.lmt
parent0aa93a6d31a45d8df2d8516567b98967ce04f183 (diff)
downloadcontext-c0c1dea1daf21f2c21f6d8094f54f67138998baf.tar.gz
2022-10-15 10:34:00
Diffstat (limited to 'tex/context/base/mkxl/driv-shp.lmt')
-rw-r--r--tex/context/base/mkxl/driv-shp.lmt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/driv-shp.lmt b/tex/context/base/mkxl/driv-shp.lmt
index 69adc09a9..1dfb73f17 100644
--- a/tex/context/base/mkxl/driv-shp.lmt
+++ b/tex/context/base/mkxl/driv-shp.lmt
@@ -871,11 +871,11 @@ local gluewidth = effectiveglue(current,this_box,true)
local save_h = cur_h
if pos_r == righttoleft_code then
cur_h = ref_h - shipbox_h + cur_h
- cur_h = width * (cur_h / width)
+ cur_h = width * (cur_h // width)
cur_h = ref_h - shipbox_h - cur_h
else
cur_h = ref_h - shipbox_h - cur_h
- cur_h = width * (cur_h / width)
+ cur_h = width * (cur_h // width)
cur_h = ref_h - shipbox_h - cur_h
end
if cur_h < save_h then