Patch 7.4.301 (after 7.4.280)
Problem:    Still a scrolling problem when loading a session file.
Solution:   Fix off-by-one mistake. (Nobuhiro Takasaki)
Files:      src/window.c


*** ../vim-7.4.300/src/window.c 2014-05-07 20:25:30.845273872 +0200
--- src/window.c        2014-05-22 15:11:58.786447193 +0200
***************
*** 5748,5754 ****
                lnum++;
                wp->w_wrow -= line_size + sline;
            }
!           else if (sline > 0)
            {
                /* First line of file reached, use that as topline. */
                lnum = 1;
--- 5748,5754 ----
                lnum++;
                wp->w_wrow -= line_size + sline;
            }
!           else if (sline >= 0)
            {
                /* First line of file reached, use that as topline. */
                lnum = 1;
*** ../vim-7.4.300/src/version.c        2014-05-22 14:54:22.854468654 +0200
--- src/version.c       2014-05-22 15:12:33.770446481 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     301,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
191. You rate eating establishments not by the quality of the food,
     but by the availability of electrical outlets for your PowerBook.

 /// 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