summaryrefslogtreecommitdiff
path: root/apps/pdfclean.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2010-07-14 13:58:48 +0200
committerSebastian Rasmussen <sebras@hotmail.com>2010-07-14 13:58:48 +0200
commit5d440eb268e2c53c5f307097269f23747ecf6455 (patch)
treeb9d8789226fd6e70d4470f53b1bbd5202db561de /apps/pdfclean.c
parent326a9789fc7ee099ffed0342e8ec99f23ed46a2e (diff)
downloadmupdf-5d440eb268e2c53c5f307097269f23747ecf6455.tar.xz
Page tree must be loaded in pdfclean in order to be able to cherry pick pages.
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 31fba0f7..61899f8f 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -295,7 +295,7 @@ int main(int argc, char **argv)
if (argc - fz_optind > 0)
subset = 1;
- openxref(infile, password, 0, 0);
+ openxref(infile, password, 0, 1);
out = fopen(outfile, "wb");
if (!out)