summaryrefslogtreecommitdiffstats
path: root/tksao/frame/segment.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/segment.C')
-rw-r--r--tksao/frame/segment.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/tksao/frame/segment.C b/tksao/frame/segment.C
index 142db2b..f67d37c 100644
--- a/tksao/frame/segment.C
+++ b/tksao/frame/segment.C
@@ -65,11 +65,11 @@ void Segment::renderPS(PSColorSpace mode)
Vector v = fwdMap(vertex.current()->vector,Coord::CANVAS);
if (first) {
str << "newpath " << endl
- << v.TkCanvasPs(parent->canvas) << " moveto" << endl;
+ << parent->TkCanvasPs(v) << " moveto" << endl;
first = 0;
}
else
- str << v.TkCanvasPs(parent->canvas) << " lineto" << endl;
+ str << parent->TkCanvasPs(v) << " lineto" << endl;
} while (vertex.next());
str << "stroke" << endl << ends;