summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-repair.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-repair.c')
-rw-r--r--source/pdf/pdf-repair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-repair.c b/source/pdf/pdf-repair.c
index fdb48fe9..690bf15a 100644
--- a/source/pdf/pdf-repair.c
+++ b/source/pdf/pdf-repair.c
@@ -213,7 +213,7 @@ pdf_repair_obj_stm(fz_context *ctx, pdf_document *doc, int stm_num)
pdf_drop_obj(ctx, obj);
- stm = pdf_open_stream(ctx, doc, stm_num);
+ stm = pdf_open_stream_number(ctx, doc, stm_num);
for (i = 0; i < count; i++)
{