diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2013-02-28 12:09:20 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-02-28 17:07:43 +0000 |
commit | 215550b73bfaad01b29cda005dd5b0d6b749b381 (patch) | |
tree | 447f344387b0548d2762971f9fd55ec0da1ce33e /pdf/pdf_device.c | |
parent | ef953fabd93b97fff2c02fc4ab004d00cfc24beb (diff) | |
download | mupdf-215550b73bfaad01b29cda005dd5b0d6b749b381.tar.xz |
Fix pdf_device ignoring the coordinate transform matrix in some cases
Diffstat (limited to 'pdf/pdf_device.c')
-rw-r--r-- | pdf/pdf_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_device.c b/pdf/pdf_device.c index 6f8ca207..ff512de1 100644 --- a/pdf/pdf_device.c +++ b/pdf/pdf_device.c @@ -402,7 +402,7 @@ pdf_dev_ctm(pdf_device *pdev, const fz_matrix *ctm) fz_matrix inverse; gstate *gs = CURRENT_GSTATE(pdev); - if (memcmp(&gs->ctm, ctm, sizeof(ctm)) == 0) + if (memcmp(&gs->ctm, ctm, sizeof(*ctm)) == 0) return; fz_invert_matrix(&inverse, &gs->ctm); fz_concat(&inverse, ctm, &inverse); |