1
0
forked from aniani/vim

patch 9.0.0077: wrong restored cursor position when switching window in autocmd

Problem:    When switching window in autocmd the restored cursor position may
            be wrong.
Solution:   Do not restore the cursor if it was not set. (closes #10775)
This commit is contained in:
Bram Moolenaar
2022-07-26 13:47:13 +01:00
parent 92a1678d48
commit b03950fafa
4 changed files with 39 additions and 4 deletions

View File

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