diff options
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r-- | source/fitz/draw-device.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index fdb631f4..b109e6b7 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -1711,14 +1711,12 @@ fz_cmp_tile_key(fz_context *ctx, void *k0_, void *k1_) return k0->id == k1->id && k0->ctm[0] == k1->ctm[0] && k0->ctm[1] == k1->ctm[1] && k0->ctm[2] == k1->ctm[2] && k0->ctm[3] == k1->ctm[3]; } -#ifndef NDEBUG static void -fz_debug_tile(fz_context *ctx, FILE *out, void *key_) +fz_print_tile(fz_context *ctx, fz_output *out, void *key_) { tile_key *key = (tile_key *)key_; - fprintf(out, "(tile id=%x, ctm=%g %g %g %g) ", key->id, key->ctm[0], key->ctm[1], key->ctm[2], key->ctm[3]); + fz_printf(ctx, out, "(tile id=%x, ctm=%g %g %g %g) ", key->id, key->ctm[0], key->ctm[1], key->ctm[2], key->ctm[3]); } -#endif static fz_store_type fz_tile_store_type = { @@ -1726,9 +1724,7 @@ static fz_store_type fz_tile_store_type = fz_keep_tile_key, fz_drop_tile_key, fz_cmp_tile_key, -#ifndef NDEBUG - fz_debug_tile -#endif + fz_print_tile }; static void |