summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-03-16 11:12:22 +0000
committerRobin Watts <robin.watts@artifex.com>2016-03-16 11:13:17 +0000
commiteb6b1208825d949178f4a2b5a1a5c4f38a20110a (patch)
treef963ff5879d40fb0f1866d875dada3dc4a003988
parent839a0ace4fad9865b2762c224c808228b729b276 (diff)
downloadmupdf-eb6b1208825d949178f4a2b5a1a5c4f38a20110a.tar.xz
Bug 696648: Send -sm output to stderr.
Thanks to Marcos for spotting the missing case.
-rw-r--r--source/fitz/draw-glyph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/draw-glyph.c b/source/fitz/draw-glyph.c
index 61a5565a..5445ee4d 100644
--- a/source/fitz/draw-glyph.c
+++ b/source/fitz/draw-glyph.c
@@ -453,8 +453,8 @@ fz_dump_glyph_cache_stats(fz_context *ctx)
{
fz_glyph_cache *cache = ctx->glyph_cache;
- printf("Glyph Cache Size: %d\n", cache->total);
+ fprintf(stderr, "Glyph Cache Size: %d\n", cache->total);
#ifndef NDEBUG
- printf("Glyph Cache Evictions: %d (%d bytes)\n", cache->num_evictions, cache->evicted);
+ fprintf(stderr, "Glyph Cache Evictions: %d (%d bytes)\n", cache->num_evictions, cache->evicted);
#endif
}