diff options
Diffstat (limited to 'source/pdf/pdf-field.c')
-rw-r--r-- | source/pdf/pdf-field.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-field.c b/source/pdf/pdf-field.c index 046e3428..53853ced 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), pdf_to_gen(ctx, obj)); + stmbuf = pdf_load_stream(ctx, doc, pdf_to_num(ctx, obj)); len = fz_buffer_storage(ctx, stmbuf, (unsigned char **)&buf); } |