summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-08-05 20:28:49 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-08-05 20:28:49 (GMT)
commit3d52470c7e973ec744d0b65be835e71f5ba79ca8 (patch)
tree00d6921632696744bcb8122f86163ab6f3149807
parent8e41c18b6ff72c1a2025a287b33d6db8d3602d0e (diff)
downloadblt-3d52470c7e973ec744d0b65be835e71f5ba79ca8.zip
blt-3d52470c7e973ec744d0b65be835e71f5ba79ca8.tar.gz
blt-3d52470c7e973ec744d0b65be835e71f5ba79ca8.tar.bz2
fix saveimage darwin
-rw-r--r--ds9/library/saveimage.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/library/saveimage.tcl b/ds9/library/saveimage.tcl
index b055835..37d9193 100644
--- a/ds9/library/saveimage.tcl
+++ b/ds9/library/saveimage.tcl
@@ -98,7 +98,7 @@ proc SaveImagePhoto {fn format} {
set rr [catch {image create photo -format window -data $ds9(canvas)} ph]
if {$rr} {
- DarwinPhotoRestore $geom
+ DarwinPhotoRestore $ds9(top) $geom
Error $saveimage(error)
return
}