mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02: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:
committed by
Douglas Drumond
parent
6115c8cb90
commit
f5ada5c159
+2
-2
@@ -10864,7 +10864,6 @@ makeopens(fd, dirnow)
|
||||
buf_T *buf;
|
||||
int only_save_windows = TRUE;
|
||||
int nr;
|
||||
int cnr = 1;
|
||||
int restore_size = TRUE;
|
||||
win_T *wp;
|
||||
char_u *sname;
|
||||
@@ -11010,7 +11009,8 @@ makeopens(fd, dirnow)
|
||||
tab_topframe = topframe;
|
||||
for (tabnr = 1; ; ++tabnr)
|
||||
{
|
||||
int need_tabnew = FALSE;
|
||||
int need_tabnew = FALSE;
|
||||
int cnr = 1;
|
||||
|
||||
if ((ssop_flags & SSOP_TABPAGES))
|
||||
{
|
||||
|
||||
@@ -756,6 +756,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
693,
|
||||
/**/
|
||||
692,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user