summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-03-22 00:58:00 +0000
committerRobin Watts <robin.watts@artifex.com>2013-03-22 00:59:31 +0000
commitbf08301ded2f44e33bebf5572587a9c7102dcc98 (patch)
treef5a72263f6df1734995ce9f4f16538aaa451332c /draw
parente219f89eab0e937b14ac2d8838296078f5fa2b35 (diff)
downloadmupdf-bf08301ded2f44e33bebf5572587a9c7102dcc98.tar.xz
Fix store debugging fns so that all output goes to the same file.
Diffstat (limited to 'draw')
-rw-r--r--draw/draw_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw/draw_device.c b/draw/draw_device.c
index 1af7a42e..595c8c3f 100644
--- a/draw/draw_device.c
+++ b/draw/draw_device.c
@@ -1688,11 +1688,11 @@ fz_cmp_tile_key(void *k0_, void *k1_)
#ifndef NDEBUG
static void
-fz_debug_tile(void *key_)
+fz_debug_tile(FILE *out, void *key_)
{
tile_key *key = (tile_key *)key_;
- printf("(tile id=%x, ctm=%g %g %g %g) ", key->id, key->ctm[0], key->ctm[1], key->ctm[2], key->ctm[3]);
+ fprintf(out, "(tile id=%x, ctm=%g %g %g %g) ", key->id, key->ctm[0], key->ctm[1], key->ctm[2], key->ctm[3]);
}
#endif