aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-03-21 10:24:40 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-03-22 18:42:17 +0100
commit4a2e6f460d02762d211c0f92af305ef5290a667b (patch)
tree4696d4604f6090e5607f332df95e1052dd0a9022 /src/nvim/ex_cmds.c
parent4c18670e91e22ab4fe566aa181aa6f28166e8aad (diff)
downloadrneovim-4a2e6f460d02762d211c0f92af305ef5290a667b.tar.gz
rneovim-4a2e6f460d02762d211c0f92af305ef5290a667b.tar.bz2
rneovim-4a2e6f460d02762d211c0f92af305ef5290a667b.zip
vim-patch:7.4.2341
Problem: Tiny things. Test doesn't clean up properly. Solution: Adjust comment and white space. Restore option value.
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 41f97b0cef..e368838df7 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -2294,7 +2294,7 @@ int do_ecmd(
}
// Close the link to the current buffer. This will set
- // curwin->w_buffer to NULL.
+ // oldwin->w_buffer to NULL.
u_sync(false);
close_buffer(oldwin, curbuf,
(flags & ECMD_HIDE) || curbuf->terminal ? 0 : DOBUF_UNLOAD,