summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-appearance.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-03-03 13:31:42 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-03-14 17:08:28 +0100
commit3f3bcd74f0329a0a9a6913f9cffebd9d965bf93e (patch)
tree27db0642b7397bbc09e8459ea4ad4273116fe974 /source/pdf/pdf-appearance.c
parente8afed7205f32d776ba406b167b5097d728da5f6 (diff)
downloadmupdf-3f3bcd74f0329a0a9a6913f9cffebd9d965bf93e.tar.xz
Take pdf_obj argument to pdf_is_stream.
Diffstat (limited to 'source/pdf/pdf-appearance.c')
-rw-r--r--source/pdf/pdf-appearance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c
index 49de8cf9..6ddf3240 100644
--- a/source/pdf/pdf-appearance.c
+++ b/source/pdf/pdf-appearance.c
@@ -1597,7 +1597,7 @@ void pdf_set_annot_appearance(fz_context *ctx, pdf_document *doc, pdf_annot *ann
/* See if there is a current normal appearance */
ap_obj = pdf_dict_getl(ctx, obj, PDF_NAME_AP, PDF_NAME_N, NULL);
- if (!pdf_is_stream(ctx, doc, pdf_to_num(ctx, ap_obj), pdf_to_gen(ctx, ap_obj)))
+ if (!pdf_is_stream(ctx, ap_obj))
ap_obj = NULL;
if (ap_obj == NULL)