gbranden pushed a commit to branch master in repository groff. commit 294b46aaf4b015bf01a30ce17f88ab7f6eef3922 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Sat Aug 2 04:45:29 2025 -0500
src/utils/afmtodit/afmtodit.pl: Tweak code style. Grope towards consistent indentation for continued lines. Use two spaces, or align with the content of relevant parenthesized syntax. --- src/utils/afmtodit/afmtodit.pl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/utils/afmtodit/afmtodit.pl b/src/utils/afmtodit/afmtodit.pl index c9ffc1d86..ec746538c 100644 --- a/src/utils/afmtodit/afmtodit.pl +++ b/src/utils/afmtodit/afmtodit.pl @@ -332,11 +332,11 @@ while (<MAP>) { # The PostScript character "space" is automatically mapped # to the groff character "space"; this is for grops. whine("you are not allowed to map to the groff character" - . " 'space'"); + . " 'space'"); } elsif ($field[0] eq "space") { whine("you are not allowed to map the PostScript character" - . " 'space'"); + . " 'space'"); } else { $nmap{$field[0]} += 0; @@ -376,9 +376,9 @@ if (!$opt_x) { for (my $j = 0; $j < $nmap{$ch}; $j++) { if (defined $mapped{$map{$ch, $j}}) { print STDERR "$program_name: AGL name" - . " '$mapped{$map{$ch, $j}}' already mapped to" - . " groff name '$map{$ch, $j}'; ignoring AGL" - . " name '$ch'\n"; + . " '$mapped{$map{$ch, $j}}' already mapped to" + . " groff name '$map{$ch, $j}'; ignoring AGL" + . " name '$ch'\n"; } else { $mapped{$map{$ch, $j}} = $ch; @@ -721,8 +721,8 @@ for (my $i = 0; $i <= $#encoding; $i++) { } sub conv { - $_[0]*$unitwidth*$resolution/(72*1000*$sizescale) + - ($_[0] < 0 ? -.5 : .5); + $_[0]*$unitwidth*$resolution/(72*1000*$sizescale) + + ($_[0] < 0 ? -.5 : .5); } # Local Variables: _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit