From 5de6910dd12025185e15fb483d5047c399212423 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 17 Jul 2010 11:48:11 +0000 Subject: Minor edits. --- apps/pdfclean.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/pdfclean.c') diff --git a/apps/pdfclean.c b/apps/pdfclean.c index f3e57ed5..f3f1e202 100644 --- a/apps/pdfclean.c +++ b/apps/pdfclean.c @@ -210,8 +210,10 @@ static void removeduplicateobjs(void) { fz_obj *a, *b; - /* pdf_isstream() calls pdf_cacheobject() and thus - ensures that the objects are in xref afterwards. */ + /* + pdf_isstream calls pdf_cacheobject and ensures + that the xref table has the objects loaded + */ if (num == other || pdf_isstream(xref, num, 0) || pdf_isstream(xref, other, 0)) @@ -271,9 +273,7 @@ static void retainpages(int argc, char **argv) fz_dropobj(pages); fz_dropobj(type); - /* Create a new kids array too add into pages dict - * since each element must be replaced to point to - * a retained page */ + /* Create a new kids array with only the pages we want to keep. */ kids = fz_newarray(1); count = 0; -- cgit v1.2.3