summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-01-22 18:33:00 +0100
committerHans Hagen <pragma@wxs.nl>2013-01-22 18:33:00 +0100
commit9efbe1124748237636331a479d3fd28d04bf3b34 (patch)
tree56d99d287bec0cbc9f33838560043f1e9a5686c3 /metapost
parentb3ab96977eee28a964a58e4c61bddac140c887f2 (diff)
downloadcontext-9efbe1124748237636331a479d3fd28d04bf3b34.tar.gz
beta 2013.01.22 18:33
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-grap.mpiv5
1 files changed, 3 insertions, 2 deletions
diff --git a/metapost/context/base/mp-grap.mpiv b/metapost/context/base/mp-grap.mpiv
index 757413a1c..98f537315 100644
--- a/metapost/context/base/mp-grap.mpiv
+++ b/metapost/context/base/mp-grap.mpiv
@@ -127,8 +127,9 @@ grap_sym[1] := fullcircle ; % circle
grap_sym[2] := (up -- down) scaled .5 ; % vertical bar
for i = 3 upto 9 : % polygons
- grap_sym[i] := for j = 0 upto i-1 :
- (up scaled .5) rotated (j*360/i) --
+ grap_sym[i] :=
+ for j = 0 upto i-1 :
+ (up scaled .5) rotated (360j/i) --
endfor cycle ;
endfor