summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/drawlabel.cc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-08 18:39:01 +0000
committerKarl Berry <karl@freefriends.org>2022-01-08 18:39:01 +0000
commitbedc9a5694f7c40a2645919601638d2dbef4145b (patch)
tree22548fd073b3f2f5a287c2487d69bfc656125ef6 /Build/source/utils/asymptote/drawlabel.cc
parentc2c4540ab1d27a23c085ce5081f6366cfabb31f6 (diff)
asy 2.75 sources
git-svn-id: svn://tug.org/texlive/trunk@61532 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/drawlabel.cc')
-rw-r--r--Build/source/utils/asymptote/drawlabel.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/drawlabel.cc b/Build/source/utils/asymptote/drawlabel.cc
index afeeeb56737..491ec4f8d0a 100644
--- a/Build/source/utils/asymptote/drawlabel.cc
+++ b/Build/source/utils/asymptote/drawlabel.cc
@@ -240,9 +240,8 @@ void drawLabelPath::bounds(bbox& b, iopipestream& tex, boxvector&, bboxlist&)
bool drawLabelPath::write(texfile *out, const bbox&)
{
- bbox b=Box;
- double Hoffset=getSetting<bool>("inlinetex") ? b.right : b.left;
- b.shift(pair(-Hoffset,-b.bottom));
+ double Hoffset=getSetting<bool>("inlinetex") ? Box.right : Box.left;
+ Box=Box.shift(pair(-Hoffset,-Box.bottom));
checkbounds();
if(drawLabel::pentype.invisible()) return true;