From 2af3baffb58f22ddf3ac5944d2677b981763e03d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 8 Dec 2011 23:36:20 +0100 Subject: Stylistic changes when testing pointer values for NULL. Also: use 'cannot' instead of 'failed to' in error messages. --- apps/pdfclean.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/pdfclean.c') 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(); -- cgit v1.2.3