1
0
forked from aniani/vim

updated for version 7.0-216

This commit is contained in:
Bram Moolenaar
2007-03-11 14:48:29 +00:00
parent 48c2c9a19a
commit d326ce83d5
5 changed files with 12 additions and 2 deletions

View File

@@ -3290,11 +3290,12 @@ win_new_tabpage(after)
int
may_open_tabpage()
{
int n = cmdmod.tab;
int n = (cmdmod.tab == 0) ? postponed_split_tab : cmdmod.tab;
if (cmdmod.tab != 0)
if (n != 0)
{
cmdmod.tab = 0; /* reset it to avoid doing it twice */
postponed_split_tab = 0;
return win_new_tabpage(n);
}
return FAIL;