diff options
Diffstat (limited to 'Build/source/utils/asymptote/drawlabel.cc')
-rw-r--r-- | Build/source/utils/asymptote/drawlabel.cc | 5 |
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; |