diff options
Diffstat (limited to 'source/pdf/pdf-repair.c')
-rw-r--r-- | source/pdf/pdf-repair.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/pdf/pdf-repair.c b/source/pdf/pdf-repair.c index bf4bcf89..3db32de0 100644 --- a/source/pdf/pdf-repair.c +++ b/source/pdf/pdf-repair.c @@ -256,6 +256,8 @@ pdf_repair_xref(pdf_document *doc, pdf_lexbuf *buf) fz_var(obj); doc->dirty = 1; + /* Can't support incremental update after repair */ + doc->freeze_updates = 1; fz_seek(doc->file, 0, 0); |