X-Git-Url: http://git.shiar.nl/barcat.git/blobdiff_plain/e5a35b808a2e0f6d7107a3f79067524de89b6be1..86f0baa047d92c961adb8dc8527e955d1254ad0b:/barcat diff --git a/barcat b/barcat index b939ea9..4d3205f 100755 --- a/barcat +++ b/barcat @@ -291,7 +291,7 @@ while ($nr <= $limit) { $val == $order[-1] ? $opt{palette}->[0] : # min $opt{palette}->[ $rel * ($#{$opt{palette}} - 1) + 1 ]; my $indicator = $opt{indicators} && $opt{indicators}->[ - !$val || !$#{$opt{indicators}} ? 0 : # blank + !length($val) || !$#{$opt{indicators}} ? 0 : # blank $#{$opt{indicators}} < 2 ? 1 : $val >= $order[0] ? -1 : $rel * ($#{$opt{indicators}} - 1e-14) + 1