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:
parent
a365091dbb
commit
df46f6f07f
@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
518,
|
||||||
/**/
|
/**/
|
||||||
517,
|
517,
|
||||||
/**/
|
/**/
|
||||||
|
@ -796,7 +796,7 @@ win_split_ins(size, flags, new_wp, dir)
|
|||||||
if (frp->fr_win != oldwin && frp->fr_win != NULL
|
if (frp->fr_win != oldwin && frp->fr_win != NULL
|
||||||
&& (frp->fr_win->w_width > new_size
|
&& (frp->fr_win->w_width > new_size
|
||||||
|| frp->fr_win->w_width > oldwin->w_width
|
|| frp->fr_win->w_width > oldwin->w_width
|
||||||
- new_size - STATUS_HEIGHT))
|
- new_size - 1))
|
||||||
{
|
{
|
||||||
do_equal = TRUE;
|
do_equal = TRUE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user