Mercurial > vim
diff src/proto/buffer.pro @ 22713:e871a824efc9 v8.2.1905
patch 8.2.1905: the wininfo list may contain stale entries
Commit: https://github.com/vim/vim/commit/4882d983397057ea91c584c5a54aaccf15016d18
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 25 17:55:09 2020 +0100
patch 8.2.1905: the wininfo list may contain stale entries
Problem: The wininfo list may contain stale entries.
Solution: When closing a window remove any other entry where the window
pointer is NULL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 25 Oct 2020 18:00:04 +0100 |
parents | 050f5eaa9e50 |
children | 92a100fc5e17 |
line wrap: on
line diff
--- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro @@ -8,6 +8,7 @@ int buf_valid(buf_T *buf); void 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); void goto_buffer(exarg_T *eap, int start, int dir, int count); void handle_swap_exists(bufref_T *old_curbuf); char *do_bufdel(int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit);