commit a0ec8a486ce7b6dbf1622c3aa4555e5ede1be1d3
parent e00794a00569655792868bc812cb824c5f522e25
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Tue, 31 May 2016 00:39:48 +0200
sbocheck: limit is 80, so allow up to and including the limit
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sbocheck b/sbocheck
@@ -91,7 +91,7 @@ sub get_update_list {
$info->{upd_str} = $available;
my $str = sprintf "%s < %s", $current, $available;
- if (length($str) < 80) {
+ if (length($str) <= 80) {
$max = length($current) if length($current) > $max;
}
}
@@ -101,7 +101,7 @@ sub get_update_list {
my $info = $updates{$sbo};
my $str = sprintf "%s < %s", $info->{name_str}, $info->{upd_str};
- if (length($str) < 80) {
+ if (length($str) <= 80) {
$str = sprintf "%-*s < %s", $max, $info->{name_str}, $info->{upd_str};
my $adjust = 1;
while (length($str) > 80) {