diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-07-17 11:48:11 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-07-17 11:48:11 +0000 |
commit | 5de6910dd12025185e15fb483d5047c399212423 (patch) | |
tree | bcc67d97e60b410f2cadc11249e224984376ea37 /apps/pdfclean.c | |
parent | de57fd12183a63235b46386c5be38e83212b635d (diff) | |
download | mupdf-5de6910dd12025185e15fb483d5047c399212423.tar.xz |
Minor edits.
Diffstat (limited to 'apps/pdfclean.c')
-rw-r--r-- | apps/pdfclean.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; |