aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/__main__.py b/src/__main__.py
index 6bce7a3..8abfa45 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -408,7 +408,7 @@ class Bar:
for part in parts:
w = Bar.coloured_length(part) * self.font_width
x_ = int((width - w) * i / n)
- if w > 0:
+ if w >= 0:
areas_.append((x_, x_ + w))
i += 1
x1 = areas_[0][1]