diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-03-02 16:46:45 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-03-02 16:46:45 (GMT) |
commit | 8c5558f17b0b6cba05f3895be1287928fc2cc4c7 (patch) | |
tree | e8f7dff7cc3cdccf3d9496f7283f8327181c569c | |
parent | b1c387fe82a3f279fde9c25f3467379a7c3287f1 (diff) | |
download | blt-8c5558f17b0b6cba05f3895be1287928fc2cc4c7.zip blt-8c5558f17b0b6cba05f3895be1287928fc2cc4c7.tar.gz blt-8c5558f17b0b6cba05f3895be1287928fc2cc4c7.tar.bz2 |
SHM: fixed type in loading shared memory segments
-rw-r--r-- | ds9/doc/release/r8.1.html | 1 | ||||
-rw-r--r-- | ds9/library/shm.tcl | 16 |
2 files changed, 9 insertions, 8 deletions
diff --git a/ds9/doc/release/r8.1.html b/ds9/doc/release/r8.1.html index e87b39b..f26d334 100644 --- a/ds9/doc/release/r8.1.html +++ b/ds9/doc/release/r8.1.html @@ -54,6 +54,7 @@ <li><tt>02.26.2019 GUI: add command "preserve scale" for backward compatibility.</tt></li> <li><tt>02.28.2019 TKBLT: fixed postscript bounding box issue.</tt></li> <li><tt>03.01.2019 PLOT: removed old sequence flag from plot widgets.</tt></li> +<li><tt>03.02.2019 SHM: fixed type in loading shared memory segments.</tt></li> <li><tt><b>xx.xx.2019 RELEASE version 8.1b1</b></tt></li> </ol> </div> diff --git a/ds9/library/shm.tcl b/ds9/library/shm.tcl index 3fbddc0..fb6755f 100644 --- a/ds9/library/shm.tcl +++ b/ds9/library/shm.tcl @@ -19,14 +19,14 @@ proc ProcessShmCmd {varname iname ml} { proc ShmCmdSet {loadtype filetype filemode sharedidtype sharedid filename {sharedhdr {}}} { - global loadparam - set loadparam(load,type) $loadtype - set loadparam(file,type) $filetype - set loadparam(file,mode) $filemode - set loadparam(shared,idtype) $sharedidtype - set loadparam(shared,id) $sharedid - set loadparam(file,name) $filename - set loadparam(shared,hdr) $sharedhdr + global loadParam + set loadParam(load,type) $loadtype + set loadParam(file,type) $filetype + set loadParam(file,mode) $filemode + set loadParam(shared,idtype) $sharedidtype + set loadParam(shared,id) $sharedid + set loadParam(file,name) $filename + set loadParam(shared,hdr) $sharedhdr # mask not supported set loadParam(load,layer) {} |