diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-12-13 21:55:03 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-12-13 21:56:57 +0100 |
commit | 308c8d8ed6d2c15e45c33a8a6a748a1b06cb134c (patch) | |
tree | 019c7779b8129614630d2daf52e7577927f39781 /source | |
parent | 2a1611030030e18010a0ab1d69eda0359eb5f585 (diff) | |
download | mupdf-308c8d8ed6d2c15e45c33a8a6a748a1b06cb134c.tar.xz |
Initialize generation numbers when saving a new pdf.
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-write.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c index 51f7ad7a..0580a4d2 100644 --- a/source/pdf/pdf-write.c +++ b/source/pdf/pdf-write.c @@ -644,6 +644,7 @@ expand_lists(fz_context *ctx, pdf_write_state *opts, int num) { opts->use_list[i] = 0; opts->ofs_list[i] = 0; + opts->gen_list[i] = 0; opts->renumber_map[i] = i; opts->rev_renumber_map[i] = i; } |