Problem: Session file is not correct when there are multiple tab pages.
Solution: Reset the current window number for each tab page. (Jacob Niehus)
buf_T *buf;
int only_save_windows = TRUE;
int nr;
- int cnr = 1;
int restore_size = TRUE;
win_T *wp;
char_u *sname;
tab_topframe = topframe;
for (tabnr = 1; ; ++tabnr)
{
- int need_tabnew = FALSE;
+ int need_tabnew = FALSE;
+ int cnr = 1;
if ((ssop_flags & SSOP_TABPAGES))
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 693,
/**/
692,
/**/