summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-09-06 22:15:08 +0200
committerBram Moolenaar <Bram@vim.org>2016-09-06 22:15:08 +0200
commitaeac9006d5d14910f214f09df52c026a5936e737 (patch)
tree53c5b2efb24387c625d95ff4f5af4d1436c57c76 /src/ex_cmds.c
parent64d8e25bf6efe5f18b032563521c3ce278c316ab (diff)
downloadvim-git-aeac9006d5d14910f214f09df52c026a5936e737.tar.gz
patch 7.4.2341v7.4.2341
Problem: Tiny things. Test doesn't clean up properly. Solution: Adjust comment and white space. Restore option value.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index daae0dd6f..6535de11b 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3947,7 +3947,7 @@ do_ecmd(
buf_copy_options(buf, BCO_ENTER);
/* 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) ? 0 : DOBUF_UNLOAD, FALSE);