aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-05-25 11:13:18 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-05-25 13:51:30 +0200
commit51a59a0f622256595e1cc8f6dcd2c2791cbad76d (patch)
tree7393e5133dac397062df2cf1f77796665a4c6890 /src/nvim/ex_cmds.c
parentc4f56c4134d806c40fc841ca1af2c0020b447140 (diff)
downloadrneovim-51a59a0f622256595e1cc8f6dcd2c2791cbad76d.tar.gz
rneovim-51a59a0f622256595e1cc8f6dcd2c2791cbad76d.tar.bz2
rneovim-51a59a0f622256595e1cc8f6dcd2c2791cbad76d.zip
lint
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
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