summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/psfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/psfile.cc')
-rw-r--r--Build/source/utils/asymptote/psfile.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/psfile.cc b/Build/source/utils/asymptote/psfile.cc
index 97e6a803e61..3886db6d46f 100644
--- a/Build/source/utils/asymptote/psfile.cc
+++ b/Build/source/utils/asymptote/psfile.cc
@@ -649,10 +649,10 @@ void psfile::image(stack *Stack, callable *f, Int width, Int height,
imageheader(width,height,colorspace);
beginImage(ncomponents*width*height);
- for(Int i=0; i < width; i++) {
- for(Int j=0; j < height; j++) {
- Stack->push(i);
+ for(Int j=0; j < height; j++) {
+ for(Int i=0; i < width; i++) {
Stack->push(j);
+ Stack->push(i);
f->call(Stack);
pen p=pop<pen>(Stack);
p.convert();