Better CountPages

This commit is contained in:
John Whitington 2016-11-03 14:47:54 +00:00
parent b224500cfc
commit af902e9f44
1 changed files with 3 additions and 3 deletions

View File

@ -3203,9 +3203,9 @@ 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... (*let pdf = decrypt_if_necessary input (Some CountPages) pdf in*)
REMOVE. Seems to work. *) (* 3/11/2016. We removed decryption here, because it doesn't seem necessary. Put
let pdf = decrypt_if_necessary input (Some CountPages) pdf in * back in on counterexample *)
output_page_count pdf output_page_count pdf
| Some Revisions -> | Some Revisions ->
let input = let input =