Small tweak to make double formatting match what we had before.

This commit is contained in:
Robin Sommer 2011-10-06 16:54:38 -07:00
parent 7acbb8776d
commit 63e4ee3d81

View file

@ -150,7 +150,7 @@ void ODesc::Add(double d)
else else
{ {
char tmp[256]; char tmp[256];
modp_dtoa(d, tmp, IsReadable() ? 15 : 17); modp_dtoa2(d, tmp, IsReadable() ? 6 : 8);
Add(tmp); Add(tmp);
if ( d == double(int(d)) ) if ( d == double(int(d)) )