summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/pdf/pdf-write.c1
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;
}