aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--window-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window-tree.c b/window-tree.c
index decba1ef..272e4d0a 100644
--- a/window-tree.c
+++ b/window-tree.c
@@ -512,7 +512,7 @@ window_tree_draw_session(struct window_tree_modedata *data, struct session *s,
else
offset = (i * each);
if (loop == end - 1)
- width = each - 1 + remaining;
+ width = each + remaining;
else
width = each - 1;
@@ -638,7 +638,7 @@ window_tree_draw_window(struct window_tree_modedata *data, struct session *s,
else
offset = (i * each);
if (loop == end - 1)
- width = each - 1 + remaining;
+ width = each + remaining;
else
width = each - 1;