mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Renumber sub-directives as well
This commit is contained in:
@@ -309,6 +309,9 @@ foreach my $c (@$conf) {
|
||||
$c->{'line'} += $offset if ($c->{'line'} >= $line);
|
||||
$c->{'eline'} += $offset if ($c->{'eline'} >= $line);
|
||||
}
|
||||
if ($c->{'section'}) {
|
||||
&renumber($c->{'members'}, $line, $file, $offset);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user