|
Karsten Hopp |
d97f64 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
d97f64 |
Subject: Patch 7.4.491
|
|
Karsten Hopp |
d97f64 |
Fcc: outbox
|
|
Karsten Hopp |
d97f64 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d97f64 |
Mime-Version: 1.0
|
|
Karsten Hopp |
d97f64 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
d97f64 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d97f64 |
------------
|
|
Karsten Hopp |
d97f64 |
|
|
Karsten Hopp |
d97f64 |
Patch 7.4.491
|
|
Karsten Hopp |
d97f64 |
Problem: When winrestview() has a negative "topline" value there are
|
|
Karsten Hopp |
d97f64 |
display errors.
|
|
Karsten Hopp |
d97f64 |
Solution: Correct a negative value to 1. (Hirohito Higashi)
|
|
Karsten Hopp |
d97f64 |
Files: src/eval.c
|
|
Karsten Hopp |
d97f64 |
|
|
Karsten Hopp |
d97f64 |
|
|
Karsten Hopp |
d97f64 |
*** ../vim-7.4.490/src/eval.c 2014-09-19 20:45:19.266454650 +0200
|
|
Karsten Hopp |
d97f64 |
--- src/eval.c 2014-10-31 15:43:55.811056060 +0100
|
|
Karsten Hopp |
d97f64 |
***************
|
|
Karsten Hopp |
d97f64 |
*** 19576,19582 ****
|
|
Karsten Hopp |
d97f64 |
# endif
|
|
Karsten Hopp |
d97f64 |
changed_window_setting();
|
|
Karsten Hopp |
d97f64 |
|
|
Karsten Hopp |
d97f64 |
! if (curwin->w_topline == 0)
|
|
Karsten Hopp |
d97f64 |
curwin->w_topline = 1;
|
|
Karsten Hopp |
d97f64 |
if (curwin->w_topline > curbuf->b_ml.ml_line_count)
|
|
Karsten Hopp |
d97f64 |
curwin->w_topline = curbuf->b_ml.ml_line_count;
|
|
Karsten Hopp |
d97f64 |
--- 19576,19582 ----
|
|
Karsten Hopp |
d97f64 |
# endif
|
|
Karsten Hopp |
d97f64 |
changed_window_setting();
|
|
Karsten Hopp |
d97f64 |
|
|
Karsten Hopp |
d97f64 |
! if (curwin->w_topline <= 0)
|
|
Karsten Hopp |
d97f64 |
curwin->w_topline = 1;
|
|
Karsten Hopp |
d97f64 |
if (curwin->w_topline > curbuf->b_ml.ml_line_count)
|
|
Karsten Hopp |
d97f64 |
curwin->w_topline = curbuf->b_ml.ml_line_count;
|
|
Karsten Hopp |
d97f64 |
*** ../vim-7.4.490/src/version.c 2014-10-31 13:54:21.843214469 +0100
|
|
Karsten Hopp |
d97f64 |
--- src/version.c 2014-10-31 15:44:59.555054524 +0100
|
|
Karsten Hopp |
d97f64 |
***************
|
|
Karsten Hopp |
d97f64 |
*** 743,744 ****
|
|
Karsten Hopp |
d97f64 |
--- 743,746 ----
|
|
Karsten Hopp |
d97f64 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d97f64 |
+ /**/
|
|
Karsten Hopp |
d97f64 |
+ 491,
|
|
Karsten Hopp |
d97f64 |
/**/
|
|
Karsten Hopp |
d97f64 |
|
|
Karsten Hopp |
d97f64 |
--
|
|
Karsten Hopp |
d97f64 |
GUARD #2: Wait a minute -- supposing two swallows carried it together?
|
|
Karsten Hopp |
d97f64 |
GUARD #1: No, they'd have to have it on a line.
|
|
Karsten Hopp |
d97f64 |
GUARD #2: Well, simple! They'd just use a standard creeper!
|
|
Karsten Hopp |
d97f64 |
GUARD #1: What, held under the dorsal guiding feathers?
|
|
Karsten Hopp |
d97f64 |
GUARD #2: Well, why not?
|
|
Karsten Hopp |
d97f64 |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
d97f64 |
|
|
Karsten Hopp |
d97f64 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d97f64 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d97f64 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
d97f64 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|