]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.1.0998: getcurpos() unexpectedly changes "curswant" v8.1.0998
authorBram Moolenaar <Bram@vim.org>
Thu, 7 Mar 2019 10:25:32 +0000 (11:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 7 Mar 2019 10:25:32 +0000 (11:25 +0100)
commit19a66858a5e3fedadc371321834507c34e2dfb18
tree6fca21cc4c5fcb7cfd73faaea55cb152272da49f
parentd5a5886ce90a30efc830b0053472735c5bbb4b0f
patch 8.1.0998: getcurpos() unexpectedly changes "curswant"

Problem:    getcurpos() unexpectedly changes "curswant".
Solution:   Save and restore "curswant". (closes #4069)
src/evalfunc.c
src/testdir/test_visual.vim
src/version.c