diff options
-rw-r--r-- | src/cairo-output-stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-output-stream.c b/src/cairo-output-stream.c index 5bce0e34..6d9c733c 100644 --- a/src/cairo-output-stream.c +++ b/src/cairo-output-stream.c @@ -236,7 +236,7 @@ _cairo_dtostr (char *buffer, size_t size, double d) if (d == 0.0) d = 0.0; - snprintf (buffer, size, "%f", d); + snprintf (buffer, size, "%.18f", d); locale_data = localeconv (); decimal_point = locale_data->decimal_point; |