Always show quantity if quantity changed

This commit is contained in:
Juerd Waalboer 2023-01-30 04:42:12 +01:00
parent 99435cef17
commit e5c004958f

View file

@ -108,7 +108,7 @@ sub as_printable($self) {
my $q = $self->{quantity};
push @s, sprintf "%s%s%s" . "%s%6s%s" . " " . "%s%s%s",
($self->{highlight} || $self->{highlight_quantity} ? $HI : $LO),
($q > 1 ? "${q}x" . " " x (3 - length $q) : " " x 4),
($q > 1 || $self->{highlight_quantity} ? "${q}x" . " " x (3 - length $q) : " " x 4),
($self->{highlight} ? "" : $END),
($self->{highlight} || $self->{highlight_amount} ? $HI : $LO),