diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-05 23:04:54 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-06 20:26:30 -0400 |
commit | 2be853d486be2cac3b04efbf425afac2dd9361a3 (patch) | |
tree | 9e3206063676ecf5353794d343c8fdd477fc7ee5 /src/nvim/buffer.c | |
parent | c0d26ba4f9a5a531e062fdfe96dddaeed56cdcc2 (diff) | |
download | rneovim-2be853d486be2cac3b04efbf425afac2dd9361a3.tar.gz rneovim-2be853d486be2cac3b04efbf425afac2dd9361a3.tar.bz2 rneovim-2be853d486be2cac3b04efbf425afac2dd9361a3.zip |
lint
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 5f832bfcf3..384c7f77b2 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -841,7 +841,7 @@ void goto_buffer(exarg_T *eap, int start, int dir, int count) * aborting() returns FALSE when closing a window. */ enter_cleanup(&cs); - /* Quitting means closing the split window, nothing else. */ + // Quitting means closing the split window, nothing else. win_close(curwin, true); swap_exists_action = SEA_NONE; swap_exists_did_quit = TRUE; @@ -4652,9 +4652,9 @@ void ex_buffer_all(exarg_T *eap) && !(wp->w_closing || wp->w_buffer->b_locked > 0) ) { win_close(wp, false); - wpnext = firstwin; /* just in case an autocommand does - something strange with windows */ - tpnext = first_tabpage; /* start all over...*/ + wpnext = firstwin; // just in case an autocommand does + // something strange with windows + tpnext = first_tabpage; // start all over... open_wins = 0; } else ++open_wins; @@ -4723,9 +4723,9 @@ void ex_buffer_all(exarg_T *eap) * aborting() returns FALSE when closing a window. */ enter_cleanup(&cs); - /* User selected Quit at ATTENTION prompt; close this window. */ + // User selected Quit at ATTENTION prompt; close this window. win_close(curwin, true); - --open_wins; + open_wins--; swap_exists_action = SEA_NONE; swap_exists_did_quit = TRUE; |