summaryrefslogtreecommitdiffstats
path: root/ds9/library/cat.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/cat.tcl')
-rw-r--r--ds9/library/cat.tcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/ds9/library/cat.tcl b/ds9/library/cat.tcl
index 89b25f2..0bd1961 100644
--- a/ds9/library/cat.tcl
+++ b/ds9/library/cat.tcl
@@ -1253,6 +1253,11 @@ proc CatalogRefCmd {ref} {
global icat
global cvarname
+ # backward compatibility
+ if {$ref == "cxc"} {
+ set ref csc
+ }
+
# look for reference in current list
if {[lsearch $icat(cats) cat${ref}] < 0} {
# see if its from our list of cats