0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.4.518

Problem:    Using status line height in width computations.
Solution:   Use one instead. (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar 2014-11-19 13:40:08 +01:00
parent a365091dbb
commit df46f6f07f
2 changed files with 3 additions and 1 deletions

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
518,
/**/
517,
/**/

View File

@ -796,7 +796,7 @@ win_split_ins(size, flags, new_wp, dir)
if (frp->fr_win != oldwin && frp->fr_win != NULL
&& (frp->fr_win->w_width > new_size
|| frp->fr_win->w_width > oldwin->w_width
- new_size - STATUS_HEIGHT))
- new_size - 1))
{
do_equal = TRUE;
break;