From d4566c14e71c55dcef05fb34ea94eba835831527 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 24 Sep 2022 21:06:39 +0100 Subject: [PATCH] patch 9.0.0581: adding a character for incsearch fails at end of line Problem: Adding a character for incsearch fails at end of line. Solution: Only check cursor line number. --- src/move.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/move.c b/src/move.c index 967dd77fb..8a8af9a4e 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 eb6ad8701..0acc0d406 100644 --- a/src/version.c +++ b/src/version.c @@ -699,6 +699,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 581, /**/ 580, /**/ -- 2.40.0