mirror of
https://github.com/tmux/tmux.git
synced 2024-12-14 02:48:47 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
983357603a
4
layout.c
4
layout.c
@ -686,6 +686,8 @@ layout_split_pane(
|
||||
case LAYOUT_LEFTRIGHT:
|
||||
if (size < 0)
|
||||
size2 = ((sx + 1) / 2) - 1;
|
||||
else if (insert_before)
|
||||
size2 = sx - size - 1;
|
||||
else
|
||||
size2 = size;
|
||||
if (size2 < PANE_MINIMUM)
|
||||
@ -699,6 +701,8 @@ layout_split_pane(
|
||||
case LAYOUT_TOPBOTTOM:
|
||||
if (size < 0)
|
||||
size2 = ((sy + 1) / 2) - 1;
|
||||
else if (insert_before)
|
||||
size2 = sy - size - 1;
|
||||
else
|
||||
size2 = size;
|
||||
if (size2 < PANE_MINIMUM)
|
||||
|
Loading…
Reference in New Issue
Block a user