commit | 46475520d73c86a75c189079de848a36c725bb3b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Mar 23 17:36:29 2010 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Mar 23 17:36:29 2010 +0100 |
tree | 53144214c2e242edb9b34a309d032f45e67851f2 | |
parent | 06975a4a98b4ae6ec3e1a18f4ccdf8704bf921cc [diff] [blame] |
updated for version 7.2.408 Problem: With ":g/the/s/foo/bar/" the '[ and '] marks can be set to a line that was not changed. Solution: Only set '[ and '] marks when a substitution was done.
diff --git a/src/version.c b/src/version.c index c10a627..4fcc9a6 100644 --- a/src/version.c +++ b/src/version.c
@@ -682,6 +682,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 408, +/**/ 407, /**/ 406,