X-Git-Url: http://git.shiar.nl/barcat.git/blobdiff_plain/ab6a6188c897d3467a9677dc4a539feedecb30a9..b1e1adebfd115dcd80e65a2a505d9d0ed5f96c43:/barcat diff --git a/barcat b/barcat index efb631f..0445249 100755 --- a/barcat +++ b/barcat @@ -323,7 +323,7 @@ if ($opt{markers} and $size > 0) { $pos &&= log $pos if $opt{log}; $pos >= 0 or next; $increment ||= $minval && !$pos; - color(36) for $barmark[$pos / $range * $size + $increment] = $char; + color(36) for $barmark[$pos / $range * $size + $increment + .5] = $char; } }