summaryrefslogtreecommitdiffstats
path: root/tksao/frame/basecommand.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-08-09 21:15:17 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-08-09 21:15:17 (GMT)
commitc7beaaf2d8929635bf01431f71a7788d22309bdc (patch)
treeb70e7ca14c05ae65d89caca82e1c3276f6d9dc06 /tksao/frame/basecommand.C
parent3325fa297dd7950589cf0b396eefc1ec18f8d6bb (diff)
downloadblt-c7beaaf2d8929635bf01431f71a7788d22309bdc.zip
blt-c7beaaf2d8929635bf01431f71a7788d22309bdc.tar.gz
blt-c7beaaf2d8929635bf01431f71a7788d22309bdc.tar.bz2
simplify wcs code
Diffstat (limited to 'tksao/frame/basecommand.C')
-rw-r--r--tksao/frame/basecommand.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/tksao/frame/basecommand.C b/tksao/frame/basecommand.C
index 4233057..b44b18e 100644
--- a/tksao/frame/basecommand.C
+++ b/tksao/frame/basecommand.C
@@ -2126,7 +2126,7 @@ void Base::getWCSAlignPointerCmd()
void Base::getWCSNameCmd(Coord::CoordSystem sys)
{
if (currentContext->cfits && currentContext->cfits->hasWCS(sys)) {
- char* name = (char*)currentContext->cfits->getWCSName(sys);
+ char* name = (char*)currentContext->cfits->getWCSDomain(sys);
if (name) {
Tcl_AppendResult(interp, name, NULL);
return;