summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-10 21:55:26 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-10 21:55:26 +0100
commit9474716d39764ac5642e55b5548580cf53bd9bed (patch)
treef11d99a5640ad6342c503ea74afdf028d972725b /src/ex_cmds.c
parentb7633611611eeb5f14f8fd598afa687964e23f23 (diff)
patch 8.1.0887: the 'l' flag in :subsitute is stickyv8.1.0887
Problem: The 'l' flag in :subsitute is sticky. Solution: Reset the flag. (Dominique Pelle, closes #3925)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 681ef422a9..abb5f7096f 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2098,7 +2098,7 @@ write_viminfo(char_u *file, int forceit)
fp_out = NULL;
# ifdef EEXIST
/* Avoid trying lots of names while the problem is lack
- * of premission, only retry if the file already
+ * of permission, only retry if the file already
* exists. */
if (errno != EEXIST)
break;
@@ -5040,6 +5040,7 @@ do_sub(exarg_T *eap)
}
subflags.do_error = TRUE;
subflags.do_print = FALSE;
+ subflags.do_list = FALSE;
subflags.do_count = FALSE;
subflags.do_number = FALSE;
subflags.do_ic = 0;