commit | 0123cc1e1422003704cc6941916dd75e61fb7976 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Feb 07 17:17:58 2021 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Feb 07 17:17:58 2021 +0100 |
tree | 2566043accaead2dabf88969d18611289c740522 | |
parent | dee37dc733df444df1950eb922a35560e4b113d6 [diff] [blame] |
patch 8.2.2485: when sourcing a script again the script version isn't reset Problem: When sourcing a script again the script version isn't reset. Solution: Set sn_version to one when sourcing a script again. Clear sn_save_cpo properly. (closes #7608)
diff --git a/src/version.c b/src/version.c index cbef3da..ca79c64 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2485, +/**/ 2484, /**/ 2483,