diff options
-rw-r--r-- | source/pdf/pdf-clean-file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-clean-file.c b/source/pdf/pdf-clean-file.c index b261aa91..15d55b10 100644 --- a/source/pdf/pdf-clean-file.c +++ b/source/pdf/pdf-clean-file.c @@ -299,6 +299,7 @@ static void retainpages(fz_context *ctx, globals *glo, int argc, char **argv) { /* Remove this annotation */ pdf_array_delete(ctx, annots, j); + len--; j--; } } |