Karsten Hopp 8dc3e9
To: vim-dev@vim.org
Karsten Hopp 8dc3e9
Subject: Patch 7.0.143
Karsten Hopp 8dc3e9
Fcc: outbox
Karsten Hopp 8dc3e9
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 8dc3e9
Mime-Version: 1.0
Karsten Hopp 8dc3e9
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 8dc3e9
Content-Transfer-Encoding: 8bit
Karsten Hopp 8dc3e9
------------
Karsten Hopp 8dc3e9
Karsten Hopp 8dc3e9
Patch 7.0.143
Karsten Hopp 8dc3e9
Problem:    Setting 'scroll' to its default value was not handled correctly.
Karsten Hopp 8dc3e9
Solution:   Compare the right field to PV_SCROLL.
Karsten Hopp 8dc3e9
Files:	    src/option.c
Karsten Hopp 8dc3e9
Karsten Hopp 8dc3e9
Karsten Hopp 8dc3e9
*** ../vim-7.0.142/src/option.c	Tue Oct 10 18:43:50 2006
Karsten Hopp 8dc3e9
--- src/option.c	Tue Oct 17 17:29:09 2006
Karsten Hopp 8dc3e9
***************
Karsten Hopp 8dc3e9
*** 3405,3411 ****
Karsten Hopp 8dc3e9
  	}
Karsten Hopp 8dc3e9
  	else if (flags & P_NUM)
Karsten Hopp 8dc3e9
  	{
Karsten Hopp 8dc3e9
! 	    if (varp == (char_u *)PV_SCROLL)
Karsten Hopp 8dc3e9
  		win_comp_scroll(curwin);
Karsten Hopp 8dc3e9
  	    else
Karsten Hopp 8dc3e9
  	    {
Karsten Hopp 8dc3e9
--- 3405,3411 ----
Karsten Hopp 8dc3e9
  	}
Karsten Hopp 8dc3e9
  	else if (flags & P_NUM)
Karsten Hopp 8dc3e9
  	{
Karsten Hopp 8dc3e9
! 	    if (options[opt_idx].indir == PV_SCROLL)
Karsten Hopp 8dc3e9
  		win_comp_scroll(curwin);
Karsten Hopp 8dc3e9
  	    else
Karsten Hopp 8dc3e9
  	    {
Karsten Hopp 8dc3e9
*** ../vim-7.0.142/src/version.c	Tue Oct 17 16:55:47 2006
Karsten Hopp 8dc3e9
--- src/version.c	Tue Oct 17 18:34:53 2006
Karsten Hopp 8dc3e9
***************
Karsten Hopp 8dc3e9
*** 668,669 ****
Karsten Hopp 8dc3e9
--- 668,671 ----
Karsten Hopp 8dc3e9
  {   /* Add new patch number below this line */
Karsten Hopp 8dc3e9
+ /**/
Karsten Hopp 8dc3e9
+     143,
Karsten Hopp 8dc3e9
  /**/
Karsten Hopp 8dc3e9
Karsten Hopp 8dc3e9
-- 
Karsten Hopp 8dc3e9
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 8dc3e9
56. You leave the modem speaker on after connecting because you think it
Karsten Hopp 8dc3e9
    sounds like the ocean wind...the perfect soundtrack for "surfing the net".
Karsten Hopp 8dc3e9
Karsten Hopp 8dc3e9
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 8dc3e9
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 8dc3e9
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 8dc3e9
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///