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
diff --git a/src/testdir/test80.in b/src/testdir/test80.in
index 2decb4d..df4afbb 100644
--- a/src/testdir/test80.in
+++ b/src/testdir/test80.in
Binary files differ
diff --git a/src/testdir/test80.ok b/src/testdir/test80.ok
index 775d985..b08d303 100644
--- a/src/testdir/test80.ok
+++ b/src/testdir/test80.ok
Binary files differ
diff --git a/src/version.c b/src/version.c
index 90ac724..6f3020c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -726,6 +726,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 803,
+/**/
802,
/**/
801,