diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-24 21:15:53 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-29 15:56:45 +0100 |
commit | cbb1bb39872f7a02ec3c8d914a982f507776528f (patch) | |
tree | a0b5e8350731074115e954e0deec7549d9047023 /source/pdf/pdf-image.c | |
parent | 333e8de0cbf45bb8b5758410c0dd89f0ec09ba84 (diff) | |
download | mupdf-cbb1bb39872f7a02ec3c8d914a982f507776528f.tar.xz |
Rename pdf_add_simple_font_res and friends.
Diffstat (limited to 'source/pdf/pdf-image.c')
-rw-r--r-- | source/pdf/pdf-image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-image.c b/source/pdf/pdf-image.c index ef26a9b1..df745616 100644 --- a/source/pdf/pdf-image.c +++ b/source/pdf/pdf-image.c @@ -291,7 +291,7 @@ pdf_load_image(fz_context *ctx, pdf_document *doc, pdf_obj *dict) } pdf_obj * -pdf_add_image_res(fz_context *ctx, pdf_document *doc, fz_image *image, int mask) +pdf_add_image(fz_context *ctx, pdf_document *doc, fz_image *image, int mask) { fz_pixmap *pixmap = NULL; pdf_obj *imobj = NULL; @@ -440,7 +440,7 @@ pdf_add_image_res(fz_context *ctx, pdf_document *doc, fz_image *image, int mask) pdf_dict_put_drop(ctx, imobj, PDF_NAME_ImageMask, pdf_new_bool(ctx, doc, 1)); } if (image->mask) - pdf_add_image_res(ctx, doc, image->mask, 0); + pdf_add_image(ctx, doc, image->mask, 0); imref = pdf_new_ref(ctx, doc, imobj); pdf_update_stream(ctx, doc, imref, buffer, 1); |