mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.693
Problem: Session file is not correct when there are multiple tab pages. Solution: Reset the current window number for each tab page. (Jacob Niehus)
This commit is contained in:
parent
de1502f2b4
commit
695baeefe1
@ -10845,7 +10845,6 @@ makeopens(fd, dirnow)
|
|||||||
buf_T *buf;
|
buf_T *buf;
|
||||||
int only_save_windows = TRUE;
|
int only_save_windows = TRUE;
|
||||||
int nr;
|
int nr;
|
||||||
int cnr = 1;
|
|
||||||
int restore_size = TRUE;
|
int restore_size = TRUE;
|
||||||
win_T *wp;
|
win_T *wp;
|
||||||
char_u *sname;
|
char_u *sname;
|
||||||
@ -10983,7 +10982,8 @@ makeopens(fd, dirnow)
|
|||||||
tab_topframe = topframe;
|
tab_topframe = topframe;
|
||||||
for (tabnr = 1; ; ++tabnr)
|
for (tabnr = 1; ; ++tabnr)
|
||||||
{
|
{
|
||||||
int need_tabnew = FALSE;
|
int need_tabnew = FALSE;
|
||||||
|
int cnr = 1;
|
||||||
|
|
||||||
if ((ssop_flags & SSOP_TABPAGES))
|
if ((ssop_flags & SSOP_TABPAGES))
|
||||||
{
|
{
|
||||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
693,
|
||||||
/**/
|
/**/
|
||||||
692,
|
692,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user