Commits

Marcin Kasperski  committed dffaadb

bugfix

  • Participants
  • Parent commits fd7c054

Comments (0)

Files changed (1)

File print_in_parts.pl

     undef $doc;
     my $start = $self->since;
     while($start <= $pages_count) {
-        my $end = min($start + $self->split, $pages_count);
+        my $end = min($start + $self->split - 1, $pages_count);
         $self->print_part($self->file, $start, $end);
         $start = $end + 1;
     }