Karsten Hopp 8f11e4
To: vim_dev@googlegroups.com
Karsten Hopp 8f11e4
Subject: Patch 7.4.693
Karsten Hopp 8f11e4
Fcc: outbox
Karsten Hopp 8f11e4
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 8f11e4
Mime-Version: 1.0
Karsten Hopp 8f11e4
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 8f11e4
Content-Transfer-Encoding: 8bit
Karsten Hopp 8f11e4
------------
Karsten Hopp 8f11e4
Karsten Hopp 8f11e4
Patch 7.4.693
Karsten Hopp 8f11e4
Problem:    Session file is not correct when there are multiple tab pages.
Karsten Hopp 8f11e4
Solution:   Reset the current window number for each tab page. (Jacob Niehus)
Karsten Hopp 8f11e4
Files:      src/ex_docmd.c
Karsten Hopp 8f11e4
Karsten Hopp 8f11e4
Karsten Hopp 8f11e4
*** ../vim-7.4.692/src/ex_docmd.c	2015-02-03 19:10:45.978888772 +0100
Karsten Hopp 8f11e4
--- src/ex_docmd.c	2015-04-13 12:27:14.670015452 +0200
Karsten Hopp 8f11e4
***************
Karsten Hopp 8f11e4
*** 10845,10851 ****
Karsten Hopp 8f11e4
      buf_T	*buf;
Karsten Hopp 8f11e4
      int		only_save_windows = TRUE;
Karsten Hopp 8f11e4
      int		nr;
Karsten Hopp 8f11e4
-     int		cnr = 1;
Karsten Hopp 8f11e4
      int		restore_size = TRUE;
Karsten Hopp 8f11e4
      win_T	*wp;
Karsten Hopp 8f11e4
      char_u	*sname;
Karsten Hopp 8f11e4
--- 10845,10850 ----
Karsten Hopp 8f11e4
***************
Karsten Hopp 8f11e4
*** 10983,10989 ****
Karsten Hopp 8f11e4
      tab_topframe = topframe;
Karsten Hopp 8f11e4
      for (tabnr = 1; ; ++tabnr)
Karsten Hopp 8f11e4
      {
Karsten Hopp 8f11e4
! 	int  need_tabnew = FALSE;
Karsten Hopp 8f11e4
  
Karsten Hopp 8f11e4
  	if ((ssop_flags & SSOP_TABPAGES))
Karsten Hopp 8f11e4
  	{
Karsten Hopp 8f11e4
--- 10982,10989 ----
Karsten Hopp 8f11e4
      tab_topframe = topframe;
Karsten Hopp 8f11e4
      for (tabnr = 1; ; ++tabnr)
Karsten Hopp 8f11e4
      {
Karsten Hopp 8f11e4
! 	int	need_tabnew = FALSE;
Karsten Hopp 8f11e4
! 	int	cnr = 1;
Karsten Hopp 8f11e4
  
Karsten Hopp 8f11e4
  	if ((ssop_flags & SSOP_TABPAGES))
Karsten Hopp 8f11e4
  	{
Karsten Hopp 8f11e4
*** ../vim-7.4.692/src/version.c	2015-04-09 22:08:09.191074464 +0200
Karsten Hopp 8f11e4
--- src/version.c	2015-04-13 12:33:11.030267070 +0200
Karsten Hopp 8f11e4
***************
Karsten Hopp 8f11e4
*** 743,744 ****
Karsten Hopp 8f11e4
--- 743,746 ----
Karsten Hopp 8f11e4
  {   /* Add new patch number below this line */
Karsten Hopp 8f11e4
+ /**/
Karsten Hopp 8f11e4
+     693,
Karsten Hopp 8f11e4
  /**/
Karsten Hopp 8f11e4
Karsten Hopp 8f11e4
-- 
Karsten Hopp 8f11e4
(letter from Mark to Mike, about the film's probable certificate)
Karsten Hopp 8f11e4
      I would like to get back to the Censor and agree to lose the shits, take
Karsten Hopp 8f11e4
      the odd Jesus Christ out and lose Oh fuck off, but to retain 'fart in
Karsten Hopp 8f11e4
      your general direction', 'castanets of your testicles' and 'oral sex'
Karsten Hopp 8f11e4
      and ask him for an 'A' rating on that basis.
Karsten Hopp 8f11e4
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 8f11e4
Karsten Hopp 8f11e4
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 8f11e4
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 8f11e4
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 8f11e4
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///