diff options
-rwxr-xr-x | pdftool.pl | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -294,11 +294,6 @@ die "Margins are too big" if $outwidth <= $margin*2 or $outheight <= $margin*2; # die "Bad page range: `$select'" if defined $select && not $select =~ /^(_?\d*-?_?\d*,)*_?\d*-?_?\d*$/; -for (split /,/, $select) { - $_ =~ /^_?(\d*)-?_?(\d*)$/; - die "Bad page range: `$select'" if - ($1 ne "" && $1 <= 0) or ($2 ne "" && $2 <=0); -} die "Bad nup: `$nup'" if defined $nup && not ($nup =~ /^\d+$/ && $nup > 0); |