diff --git a/src/version.c b/src/version.c index 3fdfae5497..8282a834b9 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 */ +/**/ + 343, /**/ 342, /**/ diff --git a/src/window.c b/src/window.c index ae82fe7db5..914f88e0bd 100644 --- a/src/window.c +++ b/src/window.c @@ -6891,8 +6891,8 @@ match_add(wp, grp, pat, prio, id, pos_list) } if (toplnum == 0 || lnum < toplnum) toplnum = lnum; - if (botlnum == 0 || lnum > botlnum) - botlnum = lnum; + if (botlnum == 0 || lnum >= botlnum) + botlnum = lnum + 1; } /* Calculate top and bottom lines for redrawing area */