Patch 7.4.343
Problem:    matchdelete() does not always update the right lines.
Solution:   Fix off-by-one error.  (Ozaki Kiichi)
Files:      src/window.c


*** ../vim-7.4.342/src/window.c 2014-06-18 21:20:07.236377308 +0200
--- src/window.c        2014-06-25 17:55:34.190793447 +0200
***************
*** 6891,6898 ****
            }
            if (toplnum == 0 || lnum < toplnum)
                toplnum = lnum;
!           if (botlnum == 0 || lnum > botlnum)
!               botlnum = lnum;
        }
  
        /* Calculate top and bottom lines for redrawing area */
--- 6891,6898 ----
            }
            if (toplnum == 0 || lnum < toplnum)
                toplnum = lnum;
!           if (botlnum == 0 || lnum >= botlnum)
!               botlnum = lnum + 1;
        }
  
        /* Calculate top and bottom lines for redrawing area */
*** ../vim-7.4.342/src/version.c        2014-06-25 17:44:45.850768919 +0200
--- src/version.c       2014-06-25 17:54:14.258790423 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     343,
  /**/

-- 
CUSTOMER:     You're not fooling anyone y'know.  Look, isn't there something
              you can do?
DEAD PERSON:  I feel happy... I feel happy.
    [whop]
CUSTOMER:     Ah, thanks very much.
MORTICIAN:    Not at all.  See you on Thursday.
CUSTOMER:     Right.
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui