From f2a57966e4703c99aa511013d11ad6e3818af471 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Thu, 3 Oct 2013 15:04:18 +0100 Subject: [PATCH] Fixed set_open_action --- cpdfcommand.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpdfcommand.ml b/cpdfcommand.ml index 23488ed..fae7fc1 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -2956,7 +2956,7 @@ let go () = | Some (OpenAtPage n) -> write_pdf false (Cpdf.set_open_action (get_single_pdf args.op false) false n) | Some (OpenAtPageFit n) -> - write_pdf false (Cpdf.set_open_action (get_single_pdf args.op true) false n) + write_pdf false (Cpdf.set_open_action (get_single_pdf args.op false) true n) | Some (SetMetadata metadata_file) -> write_pdf false (Cpdf.set_metadata args.keepversion metadata_file (get_single_pdf args.op false)) | Some (SetVersion v) ->