Patch 7.4.325
Problem:    When starting the gui and changing the window size the status line
            may not be drawn correctly.
Solution:   Catch new_win_height() being called recursively. (Christian
            Brabandt)
Files:      src/window.c


*** ../vim-7.4.324/src/window.c 2014-06-12 14:01:27.579769788 +0200
--- src/window.c        2014-06-13 20:04:59.051863582 +0200
***************
*** 5660,5666 ****
      if (wp->w_height > 0)
      {
        if (wp == curwin)
!           validate_cursor();          /* w_wrow needs to be valid */
        if (wp->w_wrow != wp->w_prev_fraction_row)
            set_fraction(wp);
      }
--- 5660,5671 ----
      if (wp->w_height > 0)
      {
        if (wp == curwin)
!           /* w_wrow needs to be valid. When setting 'laststatus' this may
!            * call win_new_height() recursively. */
!           validate_cursor();
!       if (wp->w_height != prev_height)
!           return;  /* Recursive call already changed the size, bail out here
!                       to avoid the following to mess things up. */
        if (wp->w_wrow != wp->w_prev_fraction_row)
            set_fraction(wp);
      }
*** ../vim-7.4.324/src/version.c        2014-06-12 19:44:45.324549030 +0200
--- src/version.c       2014-06-13 20:06:12.947866378 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     325,
  /**/

-- 
DINGO:   And after the spanking ... the oral sex.
GALAHAD: Oh, dear! Well, I...
GIRLS:   The oral sex ...  The oral sex.
GALAHAD: Well, I suppose I could stay a BIT longer.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui