0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.1.0998: getcurpos() unexpectedly changes "curswant"

Problem:    getcurpos() unexpectedly changes "curswant".
Solution:   Save and restore "curswant". (closes #4069)
This commit is contained in:
Bram Moolenaar
2019-03-07 11:25:32 +01:00
parent d5a5886ce9
commit 19a66858a5
3 changed files with 27 additions and 4 deletions

View File

@@ -779,6 +779,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
998,
/**/
997,
/**/