summaryrefslogtreecommitdiffstats
path: root/tksao/frame/cpanda.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/cpanda.C')
-rw-r--r--tksao/frame/cpanda.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/tksao/frame/cpanda.C b/tksao/frame/cpanda.C
index 2d9fcda..fff5c93 100644
--- a/tksao/frame/cpanda.C
+++ b/tksao/frame/cpanda.C
@@ -112,9 +112,9 @@ void Cpanda::renderPS(PSColorSpace mode)
ostringstream str;
str << "newpath "
- << rr0.TkCanvasPs(parent->canvas) << ' '
+ << parent->TkCanvasPs(rr0) << ' '
<< "moveto "
- << rr1.TkCanvasPs(parent->canvas) << ' '
+ << parent->TkCanvasPs(rr1) << ' '
<< "lineto stroke" << endl << ends;
Tcl_AppendResult(parent->interp, str.str().c_str(), NULL);
}