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