3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.301
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.301 (after 7.4.280)
3ef2ca
Problem:    Still a scrolling problem when loading a session file.
3ef2ca
Solution:   Fix off-by-one mistake. (Nobuhiro Takasaki)
3ef2ca
Files:	    src/window.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.300/src/window.c	2014-05-07 20:25:30.845273872 +0200
3ef2ca
--- src/window.c	2014-05-22 15:11:58.786447193 +0200
3ef2ca
***************
3ef2ca
*** 5748,5754 ****
3ef2ca
  		lnum++;
3ef2ca
  		wp->w_wrow -= line_size + sline;
3ef2ca
  	    }
3ef2ca
! 	    else if (sline > 0)
3ef2ca
  	    {
3ef2ca
  		/* First line of file reached, use that as topline. */
3ef2ca
  		lnum = 1;
3ef2ca
--- 5748,5754 ----
3ef2ca
  		lnum++;
3ef2ca
  		wp->w_wrow -= line_size + sline;
3ef2ca
  	    }
3ef2ca
! 	    else if (sline >= 0)
3ef2ca
  	    {
3ef2ca
  		/* First line of file reached, use that as topline. */
3ef2ca
  		lnum = 1;
3ef2ca
*** ../vim-7.4.300/src/version.c	2014-05-22 14:54:22.854468654 +0200
3ef2ca
--- src/version.c	2014-05-22 15:12:33.770446481 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     301,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
hundred-and-one symptoms of being an internet addict:
3ef2ca
191. You rate eating establishments not by the quality of the food,
3ef2ca
     but by the availability of electrical outlets for your PowerBook.
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    ///