changeset 6373:383cb9ddb561 v7.4.518

updated for version 7.4.518 Problem: Using status line height in width computations. Solution: Use one instead. (Hirohito Higashi)
author Bram Moolenaar <bram@vim.org>
date Wed, 19 Nov 2014 13:40:08 +0100
parents c8d2cc5aa63a
children d98edc1ee7be
files src/version.c src/window.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    518,
+/**/
     517,
 /**/
     516,
--- a/src/window.c
+++ b/src/window.c
@@ -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;