summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/psfile.cc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-02 23:03:22 +0000
committerKarl Berry <karl@freefriends.org>2013-04-02 23:03:22 +0000
commit324efbd652f973cd70f42fe08c665c518995bcbe (patch)
tree818ae382dfa133f3dcceec8e12e4cbd42be8bcf4 /Build/source/utils/asymptote/psfile.cc
parentbbf699abe485e707133ff3ba502119f261f27269 (diff)
asy 2.21 sources (no runtime update)
git-svn-id: svn://tug.org/texlive/trunk@29618 c570f23f-e606-0410-a88d-b1316a301751
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();