summaryrefslogtreecommitdiff
path: root/src/pnmcurvedit.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-09-07 18:40:36 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-09-07 18:40:36 +0200
commitff2ce0b44473a1c64708c20221da86cb440ed21d (patch)
tree0a727ace5b984ab148b8c8ab6ddc8110af6847d0 /src/pnmcurvedit.cxx
parentd3d30643987ffc677ab933d2c47f86d43a30638b (diff)
use %g instead of %f
Diffstat (limited to 'src/pnmcurvedit.cxx')
-rw-r--r--src/pnmcurvedit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pnmcurvedit.cxx b/src/pnmcurvedit.cxx
index 3c12229..084db35 100644
--- a/src/pnmcurvedit.cxx
+++ b/src/pnmcurvedit.cxx
@@ -25,7 +25,7 @@ static void editor_cb(Fl_Widget* o, void* d) {
if (i != 0)
printf(",");
ce->get_point(i, &x, &y);
- printf("%.4f:%.4f", x, y);
+ printf("%.4g:%.4g", x, y);
}
printf("\n");
fflush(stdout);