summaryrefslogtreecommitdiff
path: root/pdf/pdf_repair.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_repair.c')
-rw-r--r--pdf/pdf_repair.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf/pdf_repair.c b/pdf/pdf_repair.c
index 0874c2f8..bfbc581e 100644
--- a/pdf/pdf_repair.c
+++ b/pdf/pdf_repair.c
@@ -228,6 +228,8 @@ pdf_repair_xref(pdf_document *xref, pdf_lexbuf *buf)
fz_var(info);
fz_var(list);
+ xref->dirty = 1;
+
fz_seek(xref->file, 0, 0);
fz_try(ctx)