summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CurveEditor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CurveEditor.cxx b/src/CurveEditor.cxx
index 0d45bf7..c163812 100644
--- a/src/CurveEditor.cxx
+++ b/src/CurveEditor.cxx
@@ -75,9 +75,9 @@ CurveEditor::handle(int event) {
return 1;
case FL_RELEASE:
marked_point = -1;
- printf("%.3f,%.3f", X[0], Y[0]);
+ printf("%g,%g", X[0], Y[0]);
for (int i = 1; i < n; i++) {
- printf(";%.3f,%.3f", X[i], Y[i]);
+ printf(";%g,%g", X[i], Y[i]);
}
printf("\n");
fflush(stdout);