$Kfirst <= 0 ? 0 : $rLL->[ $Kfirst - 1 ]->[_CUMULATIVE_LENGTH_];
$starting_indent = 0;
if ( !$rOpts_variable_maximum_line_length ) {
- my $level = $rLL->[$Kfirst]->[_LEVEL_];
- $starting_indent = $rOpts_indent_columns * $level;
+ my $level = $rLL->[$Kfirst]->[_LEVEL_];
+ my $ci_level = $rLL->[$Kfirst]->[_CI_LEVEL_];
+ $starting_indent = $rOpts_indent_columns * $level +
+ $ci_level * $rOpts_continuation_indentation;
}
# DO-NOT-WELD RULE 1:
=over 4
-=item B<Fixed unusual blinker>
+=item B<Correct formula for estimating line length with -wn option>
+
+A formula used to estimating maximum line length when the -wn option is set was
+missing a term for continuation indentation. No actual changes in formatting
+have been seen. This update made 12 Jan 2021.
+
+=item B<Fixed unusual blinker related to large -ci and -mft=n>
The following blinker was found in random testing. The following statement
(with @j starting at level 0)
@j = ( $x, $y, $z );
-run with the following profile
+run with the following parameters
--indent-columns=5
--continuation-indentation=7