diff options
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 180ebaf769..e7f4736613 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -4058,7 +4058,7 @@ skip: } if (did_sub) { - ++sub_nlines; + sub_nlines++; } xfree(new_start); // for when substitute was cancelled XFREE_CLEAR(sub_firstline); // free the copy of the original line |