From 0347140730dee18253828d64904f3044f0d7c187 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. --- usr.bin/tmux/window-tree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/tmux/window-tree.c b/usr.bin/tmux/window-tree.c index 106d9097698..69459818db9 100644 --- a/usr.bin/tmux/window-tree.c +++ b/usr.bin/tmux/window-tree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-tree.c,v 1.11 2017/07/04 22:21:31 nicm Exp $ */ +/* $OpenBSD: window-tree.c,v 1.12 2017/07/07 16:27:26 nicm Exp $ */ /* * Copyright (c) 2017 Nicholas Marriott @@ -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; -- 2.20.1