summaryrefslogtreecommitdiffstats
path: root/src/proto/buffer.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-15 16:22:52 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-15 16:22:52 +0100
commit797e63b9f2baa1853e7063aac478d663cd02f207 (patch)
tree9fa8b1f0922ac19e98e0db47736c5e8107801317 /src/proto/buffer.pro
parent17d015b2438e51d4d42d72720611d16c772cc4bb (diff)
patch 8.2.2354: crash with a weird combination of autocommandsv8.2.2354
Problem: Crash with a weird combination of autocommands. Solution: Increment b_nwindows when needed. (closes #7674)
Diffstat (limited to 'src/proto/buffer.pro')
-rw-r--r--src/proto/buffer.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro
index 82bcaf3c1f..564b655402 100644
--- a/src/proto/buffer.pro
+++ b/src/proto/buffer.pro
@@ -5,7 +5,7 @@ int open_buffer(int read_stdin, exarg_T *eap, int flags);
void set_bufref(bufref_T *bufref, buf_T *buf);
int bufref_valid(bufref_T *bufref);
int buf_valid(buf_T *buf);
-void close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last, int ignore_abort);
+int close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last, int ignore_abort);
void buf_clear_file(buf_T *buf);
void buf_freeall(buf_T *buf, int flags);
void free_wininfo(wininfo_T *wip);