summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2020-01-24 19:16:01 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2020-01-24 19:16:01 (GMT)
commit698351afa5878165603dbfe5b1b84ce11aa4764d (patch)
treec4e112c6ef9250ff7f828d0a3a2583ce541c61ac
parent7e683d9943f1f5c80b4c15f2a851c364ee1380d7 (diff)
downloadblt-698351afa5878165603dbfe5b1b84ce11aa4764d.zip
blt-698351afa5878165603dbfe5b1b84ce11aa4764d.tar.gz
blt-698351afa5878165603dbfe5b1b84ce11aa4764d.tar.bz2
minor tweak
-rw-r--r--ds9/library/catreg.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/library/catreg.tcl b/ds9/library/catreg.tcl
index 07c1e36..0d3f79a 100644
--- a/ds9/library/catreg.tcl
+++ b/ds9/library/catreg.tcl
@@ -385,7 +385,7 @@ proc CATReg {varname row interactive resultname} {
set template "\${sys};\${shape}(\${xx} \${yy} \${size}) # color=\${color} width=\${width} dash=\${dash} font=\{${font} ${fontsize} ${fontweight} ${fontslant}\} text=\{\${text}\} tag={${varname}} tag={${varname}.\${ii}} select=0 edit=0 move=0 rotate=0 delete=1 highlite=1 callback=highlite CATHighliteCB {${varname}.\${ii}} callback=unhighlite CATUnhighliteCB {${varname}.\${ii}}\n"
}
} else {
- set template "\${sys};\${shape}(\${xx} \${yy} \${size}) # color=\${color} width=\${width} dash=\${dash} text=\{\${text}\} tag=$varname\n"
+ set template "\${sys};\${shape}(\${xx} \${yy} \${size}) # color=\${color} width=\${width} dash=\${dash} text=\{\${text}\}\n"
}
append result [subst $template]