summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/pdf/pdf-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-device.c b/source/pdf/pdf-device.c
index 8d079689..31a7a10f 100644
--- a/source/pdf/pdf-device.c
+++ b/source/pdf/pdf-device.c
@@ -1132,7 +1132,7 @@ fz_device *pdf_new_pdf_device(fz_context *ctx, pdf_document *doc, fz_matrix topc
dev->max_gstates = 1;
if (!fz_is_identity(topctm))
- fz_append_printf(ctx, buf, "%M cm\n", topctm);
+ fz_append_printf(ctx, buf, "%M cm\n", &topctm);
}
fz_catch(ctx)
{