summaryrefslogtreecommitdiffstats
path: root/ds9/library/nameres.tcl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-07-24 21:25:56 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-07-24 21:25:56 (GMT)
commit2f7d0607458b962e7ffe8054f3e3e6b4da01744a (patch)
tree1dbf4b50a3aa9690d2629d8634de0e65c2d22d6a /ds9/library/nameres.tcl
parent5f7153b8b5e1db87dfcf19afc211ac2a4c43fa8d (diff)
downloadblt-2f7d0607458b962e7ffe8054f3e3e6b4da01744a.zip
blt-2f7d0607458b962e7ffe8054f3e3e6b4da01744a.tar.gz
blt-2f7d0607458b962e7ffe8054f3e3e6b4da01744a.tar.bz2
simplify has wcs command
Diffstat (limited to 'ds9/library/nameres.tcl')
-rw-r--r--ds9/library/nameres.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/library/nameres.tcl b/ds9/library/nameres.tcl
index 2040539..c7bc60b 100644
--- a/ds9/library/nameres.tcl
+++ b/ds9/library/nameres.tcl
@@ -144,7 +144,7 @@ proc NRESCrosshair {varname} {
global current
if {($current(frame) != {})} {
- if {[$current(frame) has wcs equatorial $var(system)]} {
+ if {[$current(frame) has wcs celestial $var(system)]} {
if {($var(x) != {}) && ($var(y) != {})} {
set current(mode) crosshair
ChangeMode