Subject: | Max_length/Opt_length checking |
Text-Flowed 0.14 5 Apr 06
Text-Flowed only rewraps lines > max_length but should also check for
lines > opt_length.
line 68
#} elsif (length($line) + $num_quotes <= $args->{max_length} - 1) {
} elsif ((length($line) + $num_quotes <= $args->{max_length} - 1) &&
(length($line) + $num_quotes <= $args->{opt_length} - 1)) {
Also should check for opt_length > max_length
add line 38
$args->{opt_length} = $args->{max_length} if ($args->{opt_length} >
$args->{max_length});