3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.518
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.518
3ef2ca
Problem:    Using status line height in width computations.
3ef2ca
Solution:   Use one instead. (Hirohito Higashi)
3ef2ca
Files:	    src/window.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.517/src/window.c	2014-10-21 20:57:11.534295006 +0200
3ef2ca
--- src/window.c	2014-11-19 13:36:46.758016634 +0100
3ef2ca
***************
3ef2ca
*** 796,802 ****
3ef2ca
  		if (frp->fr_win != oldwin && frp->fr_win != NULL
3ef2ca
  			&& (frp->fr_win->w_width > new_size
3ef2ca
  			    || frp->fr_win->w_width > oldwin->w_width
3ef2ca
! 						   - new_size - STATUS_HEIGHT))
3ef2ca
  		{
3ef2ca
  		    do_equal = TRUE;
3ef2ca
  		    break;
3ef2ca
--- 796,802 ----
3ef2ca
  		if (frp->fr_win != oldwin && frp->fr_win != NULL
3ef2ca
  			&& (frp->fr_win->w_width > new_size
3ef2ca
  			    || frp->fr_win->w_width > oldwin->w_width
3ef2ca
! 							      - new_size - 1))
3ef2ca
  		{
3ef2ca
  		    do_equal = TRUE;
3ef2ca
  		    break;
3ef2ca
*** ../vim-7.4.517/src/version.c	2014-11-19 13:21:24.984724043 +0100
3ef2ca
--- src/version.c	2014-11-19 13:39:59.875774316 +0100
3ef2ca
***************
3ef2ca
*** 743,744 ****
3ef2ca
--- 743,746 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     518,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
BRIDGEKEEPER: What is your favorite colour?
3ef2ca
GAWAIN:       Blue ...  No yelloooooww!
3ef2ca
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///