summaryrefslogtreecommitdiff
path: root/source/gprf
diff options
context:
space:
mode:
Diffstat (limited to 'source/gprf')
-rw-r--r--source/gprf/gprf-doc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gprf/gprf-doc.c b/source/gprf/gprf-doc.c
index 44e12ebc..ff242001 100644
--- a/source/gprf/gprf-doc.c
+++ b/source/gprf/gprf-doc.c
@@ -810,7 +810,7 @@ read_tiles(fz_context *ctx, gprf_page *page)
}
static void
-gprf_run_page(fz_context *ctx, fz_page *page_, fz_device *dev, const fz_matrix *ctm, fz_cookie *cookie)
+gprf_run_page(fz_context *ctx, fz_page *page_, fz_device *dev, fz_matrix ctm, fz_cookie *cookie)
{
gprf_page *page = (gprf_page*)page_;
gprf_document *doc = page->doc;
@@ -844,8 +844,8 @@ gprf_run_page(fz_context *ctx, fz_page *page_, fz_device *dev, const fz_matrix *
local.d = scale_y;
local.e = x * scale;
local.f = y * scale;
- fz_concat(&local, &local, ctm);
- fz_fill_image(ctx, dev, page->tiles[i++], &local, 1.0f, NULL);
+ local = fz_concat(local, ctm);
+ fz_fill_image(ctx, dev, page->tiles[i++], local, 1.0f, NULL);
}
}
fz_render_flags(ctx, dev, 0, FZ_DEVFLAG_GRIDFIT_AS_TILED);