patch 8.0.1487: test 14 fails
Problem: Test 14 fails.
Solution: Fix of-by-one error.
diff --git a/src/search.c b/src/search.c
index 8089dcf..7f019ed 100644
--- a/src/search.c
+++ b/src/search.c
@@ -685,7 +685,7 @@
&& pos->col < MAXCOL - 2)
{
ptr = ml_get_buf(buf, pos->lnum, FALSE);
- if ((int)STRLEN(ptr) < pos->col)
+ if ((int)STRLEN(ptr) <= pos->col)
start_char_len = 1;
else
start_char_len = (*mb_ptr2len)(ptr + pos->col);
diff --git a/src/version.c b/src/version.c
index d3927cb..043cc62 100644
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1487,
+/**/
1486,
/**/
1485,