diff src/ex_cmds.c @ 4099:77fa4dee43fc v7.3.803

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.
author Bram Moolenaar <bram@vim.org>
date Wed, 06 Feb 2013 18:24:02 +0100
parents 0cbea05f19c7
children dc77c2a14a05
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -4878,7 +4878,7 @@ do_sub(eap)
 			goto skip;
 		    }
 		    if (got_quit)
-			break;
+			goto skip;
 		}
 
 		/* Move the cursor to the start of the match, so that we can