[cairo-commit] test/get-path-extents.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Feb 25 16:36:51 PST 2008

 test/get-path-extents.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be316b7cfae90878d05869329c85c9617019bbec
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Feb 25 19:36:22 2008 -0500

    [test]/get-path-extents] Use %g instead of %f to print doubles

diff --git a/test/get-path-extents.c b/test/get-path-extents.c
index 65800ca..6f3bc10 100644
--- a/test/get-path-extents.c
+++ b/test/get-path-extents.c
@@ -92,7 +92,7 @@ check_extents (const char *message, cairo_t *cr, enum ExtentsType type,
-    cairo_test_log ("Error: %s; %s extents (%f, %f) x (%f, %f) should %s (%f, %f) x (%f, %f)\n",
+    cairo_test_log ("Error: %s; %s extents (%g, %g) x (%g, %g) should %s (%g, %g) x (%g, %g)\n",
                     message, type_string,
                     ext_x1, ext_y1, ext_x2 - ext_x1, ext_y2 - ext_y1,

More information about the cairo-commit mailing list