Patch 8.0.1487 (after 8.0.1486)
Problem:    Test 14 fails.
Solution:   Fix skipping over empty line.
Files:      src/search.c


*** ../vim-8.0.1486/src/search.c        2018-02-09 18:09:50.839116292 +0100
--- src/search.c        2018-02-09 19:19:02.496966504 +0100
***************
*** 685,691 ****
                                                    && pos->col < MAXCOL - 2)
        {
            ptr = ml_get_buf(buf, pos->lnum, FALSE);
!           if ((int)STRLEN(ptr) < pos->col)
                start_char_len = 1;
            else
                start_char_len = (*mb_ptr2len)(ptr + pos->col);
--- 685,691 ----
                                                    && pos->col < MAXCOL - 2)
        {
            ptr = ml_get_buf(buf, pos->lnum, FALSE);
!           if ((int)STRLEN(ptr) <= pos->col)
                start_char_len = 1;
            else
                start_char_len = (*mb_ptr2len)(ptr + pos->col);
*** ../vim-8.0.1486/src/version.c       2018-02-09 18:09:50.839116292 +0100
--- src/version.c       2018-02-09 19:23:44.214552212 +0100
***************
*** 773,774 ****
--- 773,776 ----
  {   /* Add new patch number below this line */
+ /**/
+     1487,
  /**/

-- 
I still remember when I gave up Smoking, Drinking and Sex.  It was the
most *horrifying* hour of my life!

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui