summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-08-14 17:11:20 +0200
committerBram Moolenaar <Bram@vim.org>2013-08-14 17:11:20 +0200
commitc93df6b0752cf1d11b0c880748821f881c1c4d08 (patch)
treecdcab747169425a0bbed744d689fb1a40f0a98b0 /src/proto
parentebefd997bbc2ec79fd33145fd88126cfd1b87fa3 (diff)
downloadvim-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.pro2
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));