From: nicm Date: Fri, 7 Jul 2017 16:27:26 +0000 (+0000) Subject: Fix size of rightmost preview section. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0347140730dee18253828d64904f3044f0d7c187;p=openbsd Fix size of rightmost preview section. --- 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;