diff options
Diffstat (limited to 'ds9/library/header.tcl')
-rw-r--r-- | ds9/library/header.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ds9/library/header.tcl b/ds9/library/header.tcl index a5836db..76698f7 100644 --- a/ds9/library/header.tcl +++ b/ds9/library/header.tcl @@ -164,7 +164,7 @@ proc ProcessHeaderCmd {varname iname} { if {$current(frame) != {}} { switch -- $item { close { - set vvarname "hd[string range $current(frame) end end]-$jj" + set vvarname "hd-$current(frame)-$jj" upvar #0 $vvarname vvar global $vvarname |