summaryrefslogtreecommitdiff
path: root/apps/pdfclean.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pdfclean.c')
-rw-r--r--apps/pdfclean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c
index 58453cfb..56d78082 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -785,7 +785,7 @@ int main(int argc, char **argv)
/* Do not renumber objects if encryption is in use, as the object
* numbers are baked into the streams/strings, and we can't currently
* cope with moving them. See bug 692627. */
- if (dogarbage >= 2 && xref->crypt == NULL)
+ if (dogarbage >= 2 && !xref->crypt)
renumberobjs();
writepdf();