summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mpxl/mp-lmtx.mpxl4
1 files changed, 3 insertions, 1 deletions
diff --git a/metapost/context/base/mpxl/mp-lmtx.mpxl b/metapost/context/base/mpxl/mp-lmtx.mpxl
index c55d7177f..7399fa711 100644
--- a/metapost/context/base/mpxl/mp-lmtx.mpxl
+++ b/metapost/context/base/mpxl/mp-lmtx.mpxl
@@ -237,7 +237,9 @@ vardef lmt_do_axis =
if d < left : rotated 180 shifted (0,-5) else : shifted (0,5) fi
ysized ts
shifted a
- rotatedaround(a,angle(d)) ;
+ if d <> origin :
+ rotatedaround(a,angle(d))
+ fi ;
endfor ;
fi ;
popparameters ;