Fix renumbering when adding a domain
This commit is contained in:
parent
4ffca4597c
commit
41fdb5dac2
@ -376,9 +376,9 @@ else {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
splice(@$lref, $section->{'line'}, 0, @newlines);
|
splice(@$lref, $section->{'line'}, 0, @newlines);
|
||||||
|
$section->{'eline'} = $section->{'line'} + scalar(@newlines) - 1;
|
||||||
&renumber($conf, $section->{'eline'}, $section->{'file'},
|
&renumber($conf, $section->{'eline'}, $section->{'file'},
|
||||||
scalar(@newlines)-$oldlen);
|
scalar(@newlines)-$oldlen);
|
||||||
$section->{'eline'} = $section->{'line'} + scalar(@newlines) - 1;
|
|
||||||
$section->{'file'} = $file;
|
$section->{'file'} = $file;
|
||||||
my $i = 1;
|
my $i = 1;
|
||||||
foreach my $m (@{$section->{'members'}}) {
|
foreach my $m (@{$section->{'members'}}) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user