summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-02-03 15:48:33 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-02-03 15:48:33 +0100
commit139d80bd65a164accf9d36d244d3d6a4c555aa47 (patch)
tree0390d124a0d6ed2b04317e8a35447169b6f2c62a /pdf
parent1eb721680865658ed8ff04e13c81eb6a32b2b44c (diff)
downloadmupdf-139d80bd65a164accf9d36d244d3d6a4c555aa47.tar.xz
Be consistent about passing a fz_context argument in pixmap functions.
Diffstat (limited to 'pdf')
-rw-r--r--pdf/pdf_image.c2
1 files changed, 1 insertions, 1 deletions
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;
}