vim-patch:7.4.518

Problem:    Using status line height in width computations.
Solution:   Use one instead. (Hirohito Higashi)

https://code.google.com/p/vim/source/detail?r=v7-4-518
This commit is contained in:
Florian Walch 2014-12-23 21:43:06 +01:00
parent 3286176406
commit 05b2f01f6a
2 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ static int included_patches[] = {
//521, //521,
520, 520,
//519, //519,
//518, 518,
//517, //517,
516, 516,
//515, //515,

View File

@ -638,7 +638,7 @@ int win_split_ins(int size, int flags, win_T *new_wp, int 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;
} }