projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
942a06f
)
add a digit to qrg in sh/dx
author
Dirk Koopman
<djk@tobit.co.uk>
Fri, 19 Nov 2021 20:44:57 +0000
(20:44 +0000)
committer
Dirk Koopman
<djk@tobit.co.uk>
Fri, 19 Nov 2021 20:44:57 +0000
(20:44 +0000)
perl/Spot.pm
patch
|
blob
|
history
diff --git
a/perl/Spot.pm
b/perl/Spot.pm
index cbe37cc66960e2decda72de2d553f544ac9a1912..385abb31bcbb49a556a3b2566c8f1bf1119acdc2 100644
(file)
--- a/
perl/Spot.pm
+++ b/
perl/Spot.pm
@@
-464,7
+464,7
@@
sub formatl
my $comment = $_[4] || '';
$comment =~ s/\t+/ /g;
my $cl = length $comment;
- my $s = sprintf "%
8.1f
%-11s %s %s", $_[1], $_[2], $d, $t;
+ my $s = sprintf "%
9.1f
%-11s %s %s", $_[1], $_[2], $d, $t;
my $width = ($_[0] ? $_[0] : 80) - length($spotter) - length($s) - 2;
$comment = substr $comment, 0, $width if $cl > $width;