073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.343
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.343
073263
Problem:    matchdelete() does not always update the right lines.
073263
Solution:   Fix off-by-one error.  (Ozaki Kiichi)
073263
Files:	    src/window.c
073263
073263
073263
*** ../vim-7.4.342/src/window.c	2014-06-18 21:20:07.236377308 +0200
073263
--- src/window.c	2014-06-25 17:55:34.190793447 +0200
073263
***************
073263
*** 6891,6898 ****
073263
  	    }
073263
  	    if (toplnum == 0 || lnum < toplnum)
073263
  		toplnum = lnum;
073263
! 	    if (botlnum == 0 || lnum > botlnum)
073263
! 		botlnum = lnum;
073263
  	}
073263
  
073263
  	/* Calculate top and bottom lines for redrawing area */
073263
--- 6891,6898 ----
073263
  	    }
073263
  	    if (toplnum == 0 || lnum < toplnum)
073263
  		toplnum = lnum;
073263
! 	    if (botlnum == 0 || lnum >= botlnum)
073263
! 		botlnum = lnum + 1;
073263
  	}
073263
  
073263
  	/* Calculate top and bottom lines for redrawing area */
073263
*** ../vim-7.4.342/src/version.c	2014-06-25 17:44:45.850768919 +0200
073263
--- src/version.c	2014-06-25 17:54:14.258790423 +0200
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     343,
073263
  /**/
073263
073263
-- 
073263
CUSTOMER:     You're not fooling anyone y'know.  Look, isn't there something
073263
              you can do?
073263
DEAD PERSON:  I feel happy... I feel happy.
073263
    [whop]
073263
CUSTOMER:     Ah, thanks very much.
073263
MORTICIAN:    Not at all.  See you on Thursday.
073263
CUSTOMER:     Right.
073263
                                  The Quest for the Holy Grail (Monty Python)
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///