diff options
Diffstat (limited to 'pdf/pdf_write.c')
-rw-r--r-- | pdf/pdf_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_write.c b/pdf/pdf_write.c index 3527961f..76ab1cb1 100644 --- a/pdf/pdf_write.c +++ b/pdf/pdf_write.c @@ -616,7 +616,7 @@ static void compactxref(pdf_document *xref, pdf_write_options *opts) for (num = 1; num < xref->len; num++) { /* If it's not used, map it to zero */ - if (!opts->use_list[num]) + if (!opts->use_list[opts->renumber_map[num]]) { opts->renumber_map[num] = 0; } |