diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-05-06 10:02:15 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-05-06 10:02:15 +0200 |
commit | 91547a80b63cf392236657cc9c5be093d142be3f (patch) | |
tree | fe262bff60b15feff01c1a6f60fc1071d7d2b3f6 /src/nvim/eval.c | |
parent | e7a8908b11db404ad7e1f3ee0209ad46c6b28594 (diff) | |
download | rneovim-91547a80b63cf392236657cc9c5be093d142be3f.tar.gz rneovim-91547a80b63cf392236657cc9c5be093d142be3f.tar.bz2 rneovim-91547a80b63cf392236657cc9c5be093d142be3f.zip |
lint
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 2a033240a1..bd61925b0d 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -19863,9 +19863,9 @@ void ex_echo(exarg_T *eap) } eap->nextcmd = check_nextcmd(arg); - if (eap->skip) - --emsg_skip; - else { + if (eap->skip) { + emsg_skip--; + } else { // remove text that may still be there from the command msg_clr_eos(); if (eap->cmdidx == CMD_echo) { |