|
Karsten Hopp |
939645 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
939645 |
Subject: Patch 7.4.301
|
|
Karsten Hopp |
939645 |
Fcc: outbox
|
|
Karsten Hopp |
939645 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
939645 |
Mime-Version: 1.0
|
|
Karsten Hopp |
939645 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
939645 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
939645 |
------------
|
|
Karsten Hopp |
939645 |
|
|
Karsten Hopp |
939645 |
Patch 7.4.301 (after 7.4.280)
|
|
Karsten Hopp |
939645 |
Problem: Still a scrolling problem when loading a session file.
|
|
Karsten Hopp |
939645 |
Solution: Fix off-by-one mistake. (Nobuhiro Takasaki)
|
|
Karsten Hopp |
939645 |
Files: src/window.c
|
|
Karsten Hopp |
939645 |
|
|
Karsten Hopp |
939645 |
|
|
Karsten Hopp |
939645 |
*** ../vim-7.4.300/src/window.c 2014-05-07 20:25:30.845273872 +0200
|
|
Karsten Hopp |
939645 |
--- src/window.c 2014-05-22 15:11:58.786447193 +0200
|
|
Karsten Hopp |
939645 |
***************
|
|
Karsten Hopp |
939645 |
*** 5748,5754 ****
|
|
Karsten Hopp |
939645 |
lnum++;
|
|
Karsten Hopp |
939645 |
wp->w_wrow -= line_size + sline;
|
|
Karsten Hopp |
939645 |
}
|
|
Karsten Hopp |
939645 |
! else if (sline > 0)
|
|
Karsten Hopp |
939645 |
{
|
|
Karsten Hopp |
939645 |
/* First line of file reached, use that as topline. */
|
|
Karsten Hopp |
939645 |
lnum = 1;
|
|
Karsten Hopp |
939645 |
--- 5748,5754 ----
|
|
Karsten Hopp |
939645 |
lnum++;
|
|
Karsten Hopp |
939645 |
wp->w_wrow -= line_size + sline;
|
|
Karsten Hopp |
939645 |
}
|
|
Karsten Hopp |
939645 |
! else if (sline >= 0)
|
|
Karsten Hopp |
939645 |
{
|
|
Karsten Hopp |
939645 |
/* First line of file reached, use that as topline. */
|
|
Karsten Hopp |
939645 |
lnum = 1;
|
|
Karsten Hopp |
939645 |
*** ../vim-7.4.300/src/version.c 2014-05-22 14:54:22.854468654 +0200
|
|
Karsten Hopp |
939645 |
--- src/version.c 2014-05-22 15:12:33.770446481 +0200
|
|
Karsten Hopp |
939645 |
***************
|
|
Karsten Hopp |
939645 |
*** 736,737 ****
|
|
Karsten Hopp |
939645 |
--- 736,739 ----
|
|
Karsten Hopp |
939645 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
939645 |
+ /**/
|
|
Karsten Hopp |
939645 |
+ 301,
|
|
Karsten Hopp |
939645 |
/**/
|
|
Karsten Hopp |
939645 |
|
|
Karsten Hopp |
939645 |
--
|
|
Karsten Hopp |
939645 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
939645 |
191. You rate eating establishments not by the quality of the food,
|
|
Karsten Hopp |
939645 |
but by the availability of electrical outlets for your PowerBook.
|
|
Karsten Hopp |
939645 |
|
|
Karsten Hopp |
939645 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
939645 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
939645 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
939645 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|