Blame SOURCES/7.4.325

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.325
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.325
22c937
Problem:    When starting the gui and changing the window size the status line
22c937
	    may not be drawn correctly.
22c937
Solution:   Catch new_win_height() being called recursively. (Christian
22c937
	    Brabandt)
22c937
Files:	    src/window.c
22c937
22c937
22c937
*** ../vim-7.4.324/src/window.c	2014-06-12 14:01:27.579769788 +0200
22c937
--- src/window.c	2014-06-13 20:04:59.051863582 +0200
22c937
***************
22c937
*** 5660,5666 ****
22c937
      if (wp->w_height > 0)
22c937
      {
22c937
  	if (wp == curwin)
22c937
! 	    validate_cursor();		/* w_wrow needs to be valid */
22c937
  	if (wp->w_wrow != wp->w_prev_fraction_row)
22c937
  	    set_fraction(wp);
22c937
      }
22c937
--- 5660,5671 ----
22c937
      if (wp->w_height > 0)
22c937
      {
22c937
  	if (wp == curwin)
22c937
! 	    /* w_wrow needs to be valid. When setting 'laststatus' this may
22c937
! 	     * call win_new_height() recursively. */
22c937
! 	    validate_cursor();
22c937
! 	if (wp->w_height != prev_height)
22c937
! 	    return;  /* Recursive call already changed the size, bail out here
22c937
! 			to avoid the following to mess things up. */
22c937
  	if (wp->w_wrow != wp->w_prev_fraction_row)
22c937
  	    set_fraction(wp);
22c937
      }
22c937
*** ../vim-7.4.324/src/version.c	2014-06-12 19:44:45.324549030 +0200
22c937
--- src/version.c	2014-06-13 20:06:12.947866378 +0200
22c937
***************
22c937
*** 736,737 ****
22c937
--- 736,739 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     325,
22c937
  /**/
22c937
22c937
-- 
22c937
DINGO:   And after the spanking ... the oral sex.
22c937
GALAHAD: Oh, dear! Well, I...
22c937
GIRLS:   The oral sex ...  The oral sex.
22c937
GALAHAD: Well, I suppose I could stay a BIT longer.
22c937
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///