Commits

Anonymous committed dffaadb

bugfix

Comments (0)

Files changed (1)

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;
     }