diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-08-14 17:11:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-08-14 17:11:20 +0200 |
commit | c93df6b0752cf1d11b0c880748821f881c1c4d08 (patch) | |
tree | cdcab747169425a0bbed744d689fb1a40f0a98b0 /src/proto | |
parent | ebefd997bbc2ec79fd33145fd88126cfd1b87fa3 (diff) | |
download | vim-c93df6b0752cf1d11b0c880748821f881c1c4d08.zip |
updated for version 7.4.004
Problem: When closing a window fails ":bwipe" may hang.
Solution: Let win_close() return FAIL and break out of the loop.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/window.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/window.pro b/src/proto/window.pro index fdba722bd..cecc66852 100644 --- a/src/proto/window.pro +++ b/src/proto/window.pro @@ -9,7 +9,7 @@ void win_move_after __ARGS((win_T *win1, win_T *win2)); void win_equal __ARGS((win_T *next_curwin, int current, int dir)); void close_windows __ARGS((buf_T *buf, int keep_curwin)); int one_window __ARGS((void)); -void win_close __ARGS((win_T *win, int free_buf)); +int win_close __ARGS((win_T *win, int free_buf)); void win_close_othertab __ARGS((win_T *win, int free_buf, tabpage_T *tp)); void win_free_all __ARGS((void)); win_T *winframe_remove __ARGS((win_T *win, int *dirp, tabpage_T *tp)); |