jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone
3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.343
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.343
3ef2ca
Problem:    matchdelete() does not always update the right lines.
3ef2ca
Solution:   Fix off-by-one error.  (Ozaki Kiichi)
3ef2ca
Files:	    src/window.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.342/src/window.c	2014-06-18 21:20:07.236377308 +0200
3ef2ca
--- src/window.c	2014-06-25 17:55:34.190793447 +0200
3ef2ca
***************
3ef2ca
*** 6891,6898 ****
3ef2ca
  	    }
3ef2ca
  	    if (toplnum == 0 || lnum < toplnum)
3ef2ca
  		toplnum = lnum;
3ef2ca
! 	    if (botlnum == 0 || lnum > botlnum)
3ef2ca
! 		botlnum = lnum;
3ef2ca
  	}
3ef2ca
  
3ef2ca
  	/* Calculate top and bottom lines for redrawing area */
3ef2ca
--- 6891,6898 ----
3ef2ca
  	    }
3ef2ca
  	    if (toplnum == 0 || lnum < toplnum)
3ef2ca
  		toplnum = lnum;
3ef2ca
! 	    if (botlnum == 0 || lnum >= botlnum)
3ef2ca
! 		botlnum = lnum + 1;
3ef2ca
  	}
3ef2ca
  
3ef2ca
  	/* Calculate top and bottom lines for redrawing area */
3ef2ca
*** ../vim-7.4.342/src/version.c	2014-06-25 17:44:45.850768919 +0200
3ef2ca
--- src/version.c	2014-06-25 17:54:14.258790423 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     343,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
CUSTOMER:     You're not fooling anyone y'know.  Look, isn't there something
3ef2ca
              you can do?
3ef2ca
DEAD PERSON:  I feel happy... I feel happy.
3ef2ca
    [whop]
3ef2ca
CUSTOMER:     Ah, thanks very much.
3ef2ca
MORTICIAN:    Not at all.  See you on Thursday.
3ef2ca
CUSTOMER:     Right.
3ef2ca
                                  The Quest for the Holy Grail (Monty Python)
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    ///