Skip to content

Commit 81b367e

Browse files
committed
updated for version 7.4.518
Problem: Using status line height in width computations. Solution: Use one instead. (Hirohito Higashi)
1 parent 0dd973a commit 81b367e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
518,
744746
/**/
745747
517,
746748
/**/

src/window.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ win_split_ins(size, flags, new_wp, dir)
796796
if (frp->fr_win != oldwin && frp->fr_win != NULL
797797
&& (frp->fr_win->w_width > new_size
798798
|| frp->fr_win->w_width > oldwin->w_width
799-
- new_size - STATUS_HEIGHT))
799+
- new_size - 1))
800800
{
801801
do_equal = TRUE;
802802
break;

0 commit comments

Comments
 (0)