diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-31 00:39:48 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-05-31 00:39:48 +0200 |
commit | a0ec8a486ce7b6dbf1622c3aa4555e5ede1be1d3 (patch) | |
tree | 75c9e0f2e8f4e2f2a8e4394009cd100b157f46c6 | |
parent | e00794a00569655792868bc812cb824c5f522e25 (diff) | |
download | sbotools2-a0ec8a486ce7b6dbf1622c3aa4555e5ede1be1d3.tar.xz |
sbocheck: limit is 80, so allow up to and including the limit
-rwxr-xr-x | sbocheck | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |