summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Verevkin <maxxverrr@gmail.com>2022-05-06 20:12:40 +0300
committerMax Verevkin <maxxverrr@gmail.com>2022-05-06 20:12:40 +0300
commite137a3c57e93b42b8263fdfe8c1d46e5b5e88c11 (patch)
treead987a357ac3dc8542a10826fd242f5487937d81 /src
parenta8f6b0a47fb9ead8343832e0c88300429de6ecdc (diff)
downloadi3bar-mango-e137a3c57e93b42b8263fdfe8c1d46e5b5e88c11.tar.gz
fix
Diffstat (limited to 'src')
-rw-r--r--src/bar_state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bar_state.rs b/src/bar_state.rs
index a7937e2..fc34102 100644
--- a/src/bar_state.rs
+++ b/src/bar_state.rs
@@ -644,7 +644,7 @@ fn render_blocks(
);
blocks_width -= to_render.width;
}
- if j + 1 != blocks.len() && series.separator_block_width > 0 {
+ if j != blocks.len() && series.separator_block_width > 0 {
let w = series.separator_block_width as f64;
if series.separator && config.separator_width > 0.0 {
config.separator.apply(context);