[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 26/27: src/utils/afmtodit/afmtodit.pl: Fix code style.
From: |
G. Branden Robinson |
Subject: |
[groff] 26/27: src/utils/afmtodit/afmtodit.pl: Fix code style. |
Date: |
Thu, 2 Jan 2025 01:22:23 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 2208cb5a06822838fa4d644c4bd1d13ee82251aa
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Jan 1 23:58:19 2025 -0600
src/utils/afmtodit/afmtodit.pl: Fix code style.
Use consistent indentation amount. Update Vim modeline to reflect it.
---
src/utils/afmtodit/afmtodit.pl | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/utils/afmtodit/afmtodit.pl b/src/utils/afmtodit/afmtodit.pl
index 815c5f8f2..aa1e8a087 100644
--- a/src/utils/afmtodit/afmtodit.pl
+++ b/src/utils/afmtodit/afmtodit.pl
@@ -57,14 +57,14 @@ if ($opt_v) {
}
sub croak {
- my $msg = shift;
- print STDERR "$prog: error: $msg\n";
- exit(1);
+ my $msg = shift;
+ print STDERR "$prog: error: $msg\n";
+ exit(1);
}
sub whine {
- my $msg = shift;
- print STDERR "$prog: warning: $msg\n";
+ my $msg = shift;
+ print STDERR "$prog: warning: $msg\n";
}
# Use $0 in the usage message for consistency with groff's C++ programs.
@@ -686,4 +686,4 @@ sub conv {
# fill-column: 72
# mode: CPerl
# End:
-# vim: set cindent noexpandtab shiftwidth=2 softtabstop=2 textwidth=72:
+# vim: set cindent noexpandtab shiftwidth=4 softtabstop=4 textwidth=72:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 26/27: src/utils/afmtodit/afmtodit.pl: Fix code style.,
G. Branden Robinson <=