aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-16 13:23:51 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-17 22:07:55 -0400
commit0223c81457efa3d7180ede0f2cc33cfe4338059e (patch)
tree693287c8e3a276d669a6c63de72068b38285f694 /src/nvim/ex_getln.c
parent7482aef113054c783b407d61d800e96177b325db (diff)
downloadrneovim-0223c81457efa3d7180ede0f2cc33cfe4338059e.tar.gz
rneovim-0223c81457efa3d7180ede0f2cc33cfe4338059e.tar.bz2
rneovim-0223c81457efa3d7180ede0f2cc33cfe4338059e.zip
lint
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 14303bae77..9eb90643fe 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -3309,9 +3309,9 @@ static bool cmdline_paste(int regname, bool literally, bool remcr)
/* Need to save and restore ccline. And set "textlock" to avoid nasty
* things like going to another buffer when evaluating an expression. */
save_cmdline(&save_ccline);
- ++textlock;
+ textlock++;
const bool i = get_spec_reg(regname, &arg, &allocated, true);
- --textlock;
+ textlock--;
restore_cmdline(&save_ccline);
if (i) {