summaryrefslogtreecommitdiffstats
path: root/tksao/frame/base.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-06-02 20:41:14 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-06-02 20:41:14 (GMT)
commit6039dfc746e3972a395decc333132006fea494a2 (patch)
tree60fcbce7ccc10e27006e0520cd68b779f9423d58 /tksao/frame/base.C
parentc037b498a3c2269f52d6d480d849bd840d7ed637 (diff)
downloadblt-6039dfc746e3972a395decc333132006fea494a2.zip
blt-6039dfc746e3972a395decc333132006fea494a2.tar.gz
blt-6039dfc746e3972a395decc333132006fea494a2.tar.bz2
fix info box physical and image format
Diffstat (limited to 'tksao/frame/base.C')
-rw-r--r--tksao/frame/base.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/tksao/frame/base.C b/tksao/frame/base.C
index c0fbfcd..60cfb4a 100644
--- a/tksao/frame/base.C
+++ b/tksao/frame/base.C
@@ -687,7 +687,8 @@ void Base::doubleToTclArray(double d, const char* var,
str << base << "," << mod << ends;
ostringstream vstr;
- vstr << fixed << setw(9) << setprecision(3) << d << ends;
+ vstr << setprecision(8) << d << ends;
+ // vstr << fixed << setw(9) << setprecision(3) << d << ends;
Tcl_SetVar2(interp, (char*)var, str.str().c_str(), vstr.str().c_str(), 0);
}