forked from aniani/vim
updated for version 7.0-216
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user