diff options
Diffstat (limited to 'tksao/frame/text.C')
-rw-r--r-- | tksao/frame/text.C | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tksao/frame/text.C b/tksao/frame/text.C index d66eb7a..60d45c0 100644 --- a/tksao/frame/text.C +++ b/tksao/frame/text.C @@ -247,7 +247,7 @@ void Text::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky, void Text::listNonCel(FitsImage* ptr, ostream& str, Coord::CoordSystem sys) { Vector vv = ptr->mapFromRef(center,sys); - str << type_ << '(' << setprecision(8) << vv << ')'; + str << type_ << '(' << setprecision(parent->precLinear) << vv << ')'; } void Text::listXML(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky, @@ -285,7 +285,8 @@ void Text::listSAOtng(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky, case Coord::AMPLIFIER: { Vector vv = ptr->mapFromRef(center,Coord::IMAGE); - str << type_ << '(' << setprecision(8) << vv << ", \"" << text << "\")"; + str << type_ << '(' << setprecision(parent->precLinear) + << vv << ", \"" << text << "\")"; } break; default: |