Mercurial > vim
diff src/window.c @ 944:b2dcb8457067 v7.0.070
updated for version 7.0-070
author | vimboss |
---|---|
date | Tue, 29 Aug 2006 15:30:07 +0000 |
parents | 591fb953a280 |
children | c06c658691e2 |
line wrap: on
line diff
--- a/src/window.c +++ b/src/window.c @@ -340,10 +340,10 @@ newwindow: { tabpage_T *oldtab = curtab; tabpage_T *newtab; - win_T *wp = curwin; /* First create a new tab with the window, then go back to * the old tab and close the window there. */ + wp = curwin; if (win_new_tabpage((int)Prenum) == OK && valid_tabpage(oldtab)) {