diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-xref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c index 6fa4770f..29439926 100644 --- a/source/pdf/pdf-xref.c +++ b/source/pdf/pdf-xref.c @@ -2744,7 +2744,7 @@ pdf_document *pdf_create_document(fz_context *ctx) doc->num_xref_sections = 0; doc->num_incremental_sections = 0; doc->xref_base = 0; - doc->disallow_new_increments = 0; + doc->disallow_new_increments = 1; pdf_get_populating_xref_entry(ctx, doc, 0); trailer = pdf_new_dict(ctx, doc, 2); pdf_dict_put_drop(ctx, trailer, PDF_NAME_Size, pdf_new_int(ctx, doc, 3)); |