commit | 11cb6e6e137afb9e20d68e69bf38d458a96701fd | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Feb 06 18:24:02 2013 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Feb 06 18:24:02 2013 +0100 |
tree | 60e0d99ce041ac3c537d768d7df68ba03fd1eb8d | |
parent | fa13eef3c9edc81c07a47124c2c893a4bb253e58 [diff] [blame] |
updated for version 7.3.803 Problem: Substitute with confirmation and then "q" does not replace anything. (John McGowan) Solution: Do not break the loop, skip to the end.
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 3c865e7..656b1f4 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -4878,7 +4878,7 @@ goto skip; } if (got_quit) - break; + goto skip; } /* Move the cursor to the start of the match, so that we can