diff --git a/src/charset.c b/src/charset.c index 19b089526a..399f258251 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1678,6 +1678,9 @@ getvcol( } clear_chartabsize_arg(&cts); + if (*ptr == NUL && pos->col < MAXCOL && pos->col > ptr - line) + pos->col = ptr - line; + if (start != NULL) *start = vcol + head; if (end != NULL) diff --git a/src/version.c b/src/version.c index b88ec9de3e..935b533efd 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 707, /**/ 706, /**/