diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-09-10 13:51:17 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-09-10 13:51:17 +0000 |
commit | 7875acc373ef93c5cee47bc1471522970696987f (patch) | |
tree | 35044c9399eb519c01ea6e4bd8194d925aa03458 | |
parent | 82ce8c7d0f14f548f5bac70db688b18c0d89b8f4 (diff) | |
download | vim-git-7875acc373ef93c5cee47bc1471522970696987f.tar.gz |
updated for version 7.0-097v7.0.097
-rw-r--r-- | src/ex_docmd.c | 14 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 001905507..3378092e6 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -6296,7 +6296,6 @@ ex_tabclose(eap) exarg_T *eap; { tabpage_T *tp; - int h = tabline_height(); # ifdef FEAT_CMDWIN if (cmdwin_type != 0) @@ -6328,9 +6327,6 @@ ex_tabclose(eap) ) tabpage_close(eap->forceit); } - - if (h != tabline_height()) - shell_new_rows(); } /* @@ -6342,7 +6338,6 @@ ex_tabonly(eap) { tabpage_T *tp; int done; - int h = tabline_height(); # ifdef FEAT_CMDWIN if (cmdwin_type != 0) @@ -6371,9 +6366,6 @@ ex_tabonly(eap) break; } } - - if (h != tabline_height()) - shell_new_rows(); } /* @@ -6397,6 +6389,8 @@ tabpage_close(forceit) /* * Close tab page "tp", which is not the current tab page. * Note that autocommands may make "tp" invalid. + * Also takes care of the tab pages line disappearing when closing the + * last-but-one tab page. */ void tabpage_close_other(tp, forceit) @@ -6405,6 +6399,7 @@ tabpage_close_other(tp, forceit) { int done = 0; win_T *wp; + int h = tabline_height(); /* Limit to 1000 windows, autocommands may add a window while we close * one. OK, so I'm paranoid... */ @@ -6418,7 +6413,10 @@ tabpage_close_other(tp, forceit) if (!valid_tabpage(tp) || tp->tp_firstwin == wp) break; } + redraw_tabline = TRUE; + if (h != tabline_height()) + shell_new_rows(); } /* diff --git a/src/version.c b/src/version.c index b34add50f..6cb788ca0 100644 --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 97, +/**/ 96, /**/ 95, |