diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-24 21:06:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-24 21:06:39 +0100 |
commit | d4566c14e71c55dcef05fb34ea94eba835831527 (patch) | |
tree | 010e9f92483e63ae22a36bf512b9a63eaf30fc04 /src | |
parent | 1d61408af31667669edcbffc876e4eafdcacca96 (diff) |
patch 9.0.0581: adding a character for incsearch fails at end of linev9.0.0581
Problem: Adding a character for incsearch fails at end of line.
Solution: Only check cursor line number.
Diffstat (limited to 'src')
-rw-r--r-- | src/move.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/move.c b/src/move.c index 967dd77fb9..8a8af9a4e9 100644 --- a/src/move.c +++ b/src/move.c @@ -683,7 +683,7 @@ cursor_valid(void) void validate_cursor(void) { - check_cursor(); + check_cursor_lnum(); check_cursor_moved(curwin); if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW)) curs_columns(TRUE); diff --git a/src/version.c b/src/version.c index eb6ad8701b..0acc0d4065 100644 --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 581, +/**/ 580, /**/ 579, |