| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.301 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| 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 |
| |
| |
| |
| |
| |
| *** 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; |
| |
| |
| |
| *** 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 -- Bram@Moolenaar.net -- 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 /// |