b878168
To: vim-dev@vim.org
b878168
Subject: Patch 7.2.059
b878168
Fcc: outbox
b878168
From: Bram Moolenaar <Bram@moolenaar.net>
b878168
Mime-Version: 1.0
b878168
Content-Type: text/plain; charset=ISO-8859-1
b878168
Content-Transfer-Encoding: 8bit
b878168
------------
b878168
b878168
Patch 7.2.059
b878168
Problem:    Diff display is not always updated.
b878168
Solution:   Update the display more often.
b878168
Files:	    src/diff.c
b878168
b878168
b878168
*** ../vim-7.2.058/src/diff.c	Fri Nov 28 21:26:50 2008
b878168
--- src/diff.c	Fri Nov 28 17:23:35 2008
b878168
***************
b878168
*** 73,78 ****
b878168
--- 73,80 ----
b878168
  	{
b878168
  	    tp->tp_diffbuf[i] = NULL;
b878168
  	    tp->tp_diff_invalid = TRUE;
b878168
+ 	    if (tp == curtab)
b878168
+ 		diff_redraw(TRUE);
b878168
  	}
b878168
      }
b878168
  }
b878168
***************
b878168
*** 102,107 ****
b878168
--- 104,110 ----
b878168
  	    {
b878168
  		curtab->tp_diffbuf[i] = NULL;
b878168
  		curtab->tp_diff_invalid = TRUE;
b878168
+ 		diff_redraw(TRUE);
b878168
  	    }
b878168
  	}
b878168
      }
b878168
***************
b878168
*** 131,136 ****
b878168
--- 134,140 ----
b878168
  	{
b878168
  	    curtab->tp_diffbuf[i] = buf;
b878168
  	    curtab->tp_diff_invalid = TRUE;
b878168
+ 	    diff_redraw(TRUE);
b878168
  	    return;
b878168
  	}
b878168
  
b878168
*** ../vim-7.2.058/src/version.c	Sun Nov 30 12:14:35 2008
b878168
--- src/version.c	Sun Nov 30 15:13:18 2008
b878168
***************
b878168
*** 678,679 ****
b878168
--- 678,681 ----
b878168
  {   /* Add new patch number below this line */
b878168
+ /**/
b878168
+     59,
b878168
  /**/
b878168
b878168
-- 
b878168
GUARD #2:  Wait a minute -- supposing two swallows carried it together?
b878168
GUARD #1:  No, they'd have to have it on a line.
b878168
GUARD #2:  Well, simple!  They'd just use a standard creeper!
b878168
GUARD #1:  What, held under the dorsal guiding feathers?
b878168
GUARD #2:  Well, why not?
b878168
                                  The Quest for the Holy Grail (Monty Python)
b878168
b878168
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
b878168
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
b878168
\\\        download, build and distribute -- http://www.A-A-P.org        ///
b878168
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///