summaryrefslogtreecommitdiff
path: root/src/cairo-debug.c
diff options
context:
space:
mode:
authorEd Schouten <ed@nuxi.nl>2016-09-04 08:41:27 +0200
committerAndrea Canciani <ranma42@gmail.com>2016-09-04 11:05:43 +0200
commita69e5af9cd62d1e8d9f503a9d74338a49e31f9cd (patch)
treea20ce7a85db0b41c0a17cab8b2d08122935d8e14 /src/cairo-debug.c
parentefc40a94939a75c78474862638647bd5363d08cf (diff)
downloadcairo-a69e5af9cd62d1e8d9f503a9d74338a49e31f9cd.tar.gz
Write debugging information to the debugging file
Some debugging functions wrote to stdout, which is inconsistent with the other debugging functions of the same groups. Instead they should write to the debugging file that they are given as input. Reviewed-by: Andrea Canciani <ranma42@gmail.com> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=95227
Diffstat (limited to 'src/cairo-debug.c')
-rw-r--r--src/cairo-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-debug.c b/src/cairo-debug.c
index 1f32b19b3..10933a673 100644
--- a/src/cairo-debug.c
+++ b/src/cairo-debug.c
@@ -262,7 +262,7 @@ _cairo_debug_print_path (FILE *stream, const cairo_path_fixed_t *path)
box.p1.x, box.p1.y, box.p2.x, box.p2.y);
}
- printf ("\n");
+ fprintf (stream, "\n");
}
void