-range now works for any input type, in place of an implicit range

This commit is contained in:
John Whitington 2015-01-21 12:18:29 +00:00
parent 45603fc725
commit 10f61a0ff7
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
(* cpdf command line tools *) (* cpdf command line tools *)
let demo = true let demo = false
let noncomp = false let noncomp = false
let major_version = 2 let major_version = 2
let minor_version = 2 let minor_version = 2
@ -1209,8 +1209,8 @@ let setextractimages () =
let setrange spec = let setrange spec =
args.dashrange <- spec; args.dashrange <- spec;
match args.inputs with match args.inputs with
(StdIn, a, c, d, e, f)::more -> (x, _, c, d, e, f)::more ->
args.inputs <- (StdIn, spec, c, d, e, f) :: more args.inputs <- (x, spec, c, d, e, f) :: more
| x -> () | x -> ()
let setrevision n = let setrevision n =