diff --git a/src/screen.c b/src/screen.c index 3bd4125b84..909a60658c 100644 --- a/src/screen.c +++ b/src/screen.c @@ -3852,7 +3852,7 @@ win_line(wp, lnum, startrow, endrow, nochange) { shl->attr_cur = shl->attr; } - else if (v == (long)shl->endcol) + else if (v >= (long)shl->endcol) { shl->attr_cur = 0; next_search_hl(wp, shl, lnum, (colnr_T)v, cur); diff --git a/src/version.c b/src/version.c index 7a9a387fbd..232a2d083e 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 362, /**/ 361, /**/