diff options
-rw-r--r-- | src/nvim/edit.c | 4 | ||||
-rw-r--r-- | src/nvim/version.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 5131dc3b38..1d5e1a51cf 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -3302,7 +3302,7 @@ expand_by_function ( goto theend; } curwin->w_cursor = pos; /* restore the cursor position */ - check_cursor(); + validate_cursor(); if (!equalpos(curwin->w_cursor, pos)) { EMSG(_(e_compldel)); goto theend; @@ -4369,7 +4369,7 @@ static int ins_complete(int c) return FAIL; } curwin->w_cursor = pos; /* restore the cursor position */ - check_cursor(); + validate_cursor(); if (!equalpos(curwin->w_cursor, pos)) { EMSG(_(e_compldel)); return FAIL; diff --git a/src/nvim/version.c b/src/nvim/version.c index 18046f9617..ca5506c567 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -192,7 +192,7 @@ static int included_patches[] = { //443, //442, //441, - //440, + 440, 439, //438, //437, |