summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-store.c')
-rw-r--r--source/pdf/pdf-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-store.c b/source/pdf/pdf-store.c
index 33d34ab9..e29e7ccb 100644
--- a/source/pdf/pdf-store.c
+++ b/source/pdf/pdf-store.c
@@ -36,7 +36,7 @@ pdf_print_key(fz_context *ctx, fz_output *out, void *key_)
pdf_obj *key = (pdf_obj *)key_;
if (pdf_is_indirect(ctx, key))
- fz_printf(ctx, out, "(%d 0 R) ", pdf_to_num(ctx, key));
+ fz_write_printf(ctx, out, "(%d 0 R) ", pdf_to_num(ctx, key));
else
pdf_print_obj(ctx, out, key, 0);
}