diff options
author | James McCoy <jamessan@jamessan.com> | 2017-03-11 00:26:44 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-03-11 20:32:39 -0500 |
commit | d72c177b2a743e147e0386f97b07030b49247390 (patch) | |
tree | 72aeb690dabe2624cfd43c2b1da011270d15f467 /src/nvim/ex_docmd.c | |
parent | 2ed2b1d505cc028347b579f677eb8e6bde9dacdd (diff) | |
download | rneovim-d72c177b2a743e147e0386f97b07030b49247390.tar.gz rneovim-d72c177b2a743e147e0386f97b07030b49247390.tar.bz2 rneovim-d72c177b2a743e147e0386f97b07030b49247390.zip |
lint
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index ba0e8295bf..340b7d442b 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -5853,12 +5853,12 @@ static void ex_close(exarg_T *eap) { win_T *win = NULL; int winnr = 0; - if (cmdwin_type != 0) + if (cmdwin_type != 0) { cmdwin_result = Ctrl_C; - else if (!text_locked() && !curbuf_locked()) { - if (eap->addr_count == 0) + } else if (!text_locked() && !curbuf_locked()) { + if (eap->addr_count == 0) { ex_win_close(eap->forceit, curwin, NULL); - else { + } else { FOR_ALL_WINDOWS_IN_TAB(wp, curtab) { winnr++; if (winnr == eap->line2) { |