Karsten Hopp 67f336
To: vim-dev@vim.org
Karsten Hopp 67f336
Subject: Patch 7.2.133
Karsten Hopp 67f336
Fcc: outbox
Karsten Hopp 67f336
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 67f336
Mime-Version: 1.0
Karsten Hopp 67f336
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 67f336
Content-Transfer-Encoding: 8bit
Karsten Hopp 67f336
------------
Karsten Hopp 67f336
Karsten Hopp 67f336
Patch 7.2.133
Karsten Hopp 67f336
Problem:    ":diffoff!" changes settings in windows not in diff mode.
Karsten Hopp 67f336
Solution:   Only change settings in other windows when 'diff' is set, always
Karsten Hopp 67f336
	    do it for the current window. (Lech Lorens)
Karsten Hopp 67f336
Files:	    src/diff.c
Karsten Hopp 67f336
Karsten Hopp 67f336
Karsten Hopp 67f336
*** ../vim-7.2.132/src/diff.c	Thu Jan 22 20:48:07 2009
Karsten Hopp 67f336
--- src/diff.c	Fri Mar  6 04:17:41 2009
Karsten Hopp 67f336
***************
Karsten Hopp 67f336
*** 1153,1159 ****
Karsten Hopp 67f336
  
Karsten Hopp 67f336
      for (wp = firstwin; wp != NULL; wp = wp->w_next)
Karsten Hopp 67f336
      {
Karsten Hopp 67f336
! 	if (wp == curwin || eap->forceit)
Karsten Hopp 67f336
  	{
Karsten Hopp 67f336
  	    /* Set 'diff', 'scrollbind' off and 'wrap' on. */
Karsten Hopp 67f336
  	    wp->w_p_diff = FALSE;
Karsten Hopp 67f336
--- 1153,1159 ----
Karsten Hopp 67f336
  
Karsten Hopp 67f336
      for (wp = firstwin; wp != NULL; wp = wp->w_next)
Karsten Hopp 67f336
      {
Karsten Hopp 67f336
! 	if (wp == curwin || (eap->forceit && wp->w_p_diff))
Karsten Hopp 67f336
  	{
Karsten Hopp 67f336
  	    /* Set 'diff', 'scrollbind' off and 'wrap' on. */
Karsten Hopp 67f336
  	    wp->w_p_diff = FALSE;
Karsten Hopp 67f336
*** ../vim-7.2.132/src/version.c	Thu Mar  5 03:13:51 2009
Karsten Hopp 67f336
--- src/version.c	Wed Mar 11 12:45:10 2009
Karsten Hopp 67f336
***************
Karsten Hopp 67f336
*** 678,679 ****
Karsten Hopp 67f336
--- 678,681 ----
Karsten Hopp 67f336
  {   /* Add new patch number below this line */
Karsten Hopp 67f336
+ /**/
Karsten Hopp 67f336
+     133,
Karsten Hopp 67f336
  /**/
Karsten Hopp 67f336
Karsten Hopp 67f336
-- 
Karsten Hopp 67f336
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 67f336
192. Your boss asks you to "go fer" coffee and you come up with 235 FTP sites.
Karsten Hopp 67f336
Karsten Hopp 67f336
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 67f336
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 67f336
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 67f336
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///