From 139d80bd65a164accf9d36d244d3d6a4c555aa47 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 3 Feb 2012 15:48:33 +0100 Subject: Be consistent about passing a fz_context argument in pixmap functions. --- pdf/pdf_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf') diff --git a/pdf/pdf_image.c b/pdf/pdf_image.c index 1bad44eb..c9359508 100644 --- a/pdf/pdf_image.c +++ b/pdf/pdf_image.c @@ -380,7 +380,7 @@ pdf_load_image(pdf_document *xref, fz_obj *dict) pix = pdf_load_image_imp(xref, NULL, dict, NULL, 0); /* RJW: "cannot load image (%d 0 R)", fz_to_num(dict) */ - fz_store_item(ctx, dict, pix, fz_pixmap_size(pix)); + fz_store_item(ctx, dict, pix, fz_pixmap_size(ctx, pix)); return pix; } -- cgit v1.2.3