summaryrefslogtreecommitdiffstats
path: root/tksao/frame/grid25d.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/grid25d.C')
-rw-r--r--tksao/frame/grid25d.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/tksao/frame/grid25d.C b/tksao/frame/grid25d.C
index 25b8d87..ec34d32 100644
--- a/tksao/frame/grid25d.C
+++ b/tksao/frame/grid25d.C
@@ -67,7 +67,7 @@ int Grid25d::doit(RenderMode rm)
// Get 2D SkyFrame
AstFrameSet* ast = (AstFrameSet*)astCopy(fits->getAST(system_));
- if (fits->astWCSIsASkyFrame(astGetFrame(ast, AST__CURRENT)))
+ if (fits->astWCSIsASkyFrame(ast))
fits->setAstWCSSkyFrame(ast, sky_);
// Record the index of the current Frame