summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-field.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-field.c')
-rw-r--r--source/pdf/pdf-field.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-field.c b/source/pdf/pdf-field.c
index 53853ced..00f4205a 100644
--- a/source/pdf/pdf-field.c
+++ b/source/pdf/pdf-field.c
@@ -33,7 +33,7 @@ char *pdf_get_string_or_stream(fz_context *ctx, pdf_document *doc, pdf_obj *obj)
}
else if (pdf_is_stream(ctx, obj))
{
- stmbuf = pdf_load_stream(ctx, doc, pdf_to_num(ctx, obj));
+ stmbuf = pdf_load_stream(ctx, obj);
len = fz_buffer_storage(ctx, stmbuf, (unsigned char **)&buf);
}