This commit is contained in:
John Whitington 2015-09-25 17:58:49 +01:00
parent accbf6de7f
commit 82cb349e92
1 changed files with 2 additions and 0 deletions

View File

@ -3076,6 +3076,8 @@ let go () =
| (AlreadyInMemory pdf, _, _, _, _, _) as input::_ -> pdf, "", input | (AlreadyInMemory pdf, _, _, _, _, _) as input::_ -> pdf, "", input
| _ -> raise (Arg.Bad "cpdf: No input specified.\n") | _ -> raise (Arg.Bad "cpdf: No input specified.\n")
in in
(* FIXME FIXME. Why do we need this decryption? Endpage_io claims not to...
REMOVE. Seems to work. *)
let pdf = decrypt_if_necessary input (Some CountPages) pdf in let pdf = decrypt_if_necessary input (Some CountPages) pdf in
output_page_count pdf output_page_count pdf
| Some Revisions -> | Some Revisions ->