summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-02-22 14:58:37 +0100
committerBram Moolenaar <Bram@vim.org>2012-02-22 14:58:37 +0100
commit42ec656524db254001caee8feb58d26f67b52fbe (patch)
tree1ca4411bcc3addd4cd05a3ed629193c6ca04409c /src/quickfix.c
parentfb7df7be2f7c80428a3379010ca701689c85aa12 (diff)
downloadvim-git-42ec656524db254001caee8feb58d26f67b52fbe.tar.gz
updated for version 7.3.449v7.3.449
Problem: Crash when a BufWinLeave autocommand closes the only other window. (Daniel Hunt) Solution: Abort closing a buffer when it becomes the only one.
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index d23b03e2e..19eb0587a 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -3565,7 +3565,7 @@ unload_dummy_buffer(buf)
buf_T *buf;
{
if (curbuf != buf) /* safety check */
- close_buffer(NULL, buf, DOBUF_UNLOAD);
+ close_buffer(NULL, buf, DOBUF_UNLOAD, FALSE);
}
#if defined(FEAT_EVAL) || defined(PROTO)