From bfaa885f10ec9da42cd3aeb7a3efa999073657fa Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 7 Jul 2017 16:27:26 +0000 Subject: [PATCH] Fix size of rightmost preview section. --- window-tree.c | 4 ++-- 1 file 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;