Patch 7.4.477
Problem: When using ":%diffput" and the other file is empty an extra empty
line remains.
Solution: Set the buf_empty flag.
Files: src/diff.c
*** ../vim-7.4.476/src/diff.c 2014-05-28 11:35:33.424011248 +0200
--- src/diff.c 2014-10-15 12:54:45.778015697 +0200
***************
*** 2325,2331 ****
end_skip = 0;
}
! buf_empty = FALSE;
added = 0;
for (i = 0; i < count; ++i)
{
--- 2325,2331 ----
end_skip = 0;
}
! buf_empty = bufempty();
added = 0;
for (i = 0; i < count; ++i)
{
*** ../vim-7.4.476/src/version.c 2014-10-15 12:07:07.610009454 +0200
--- src/version.c 2014-10-15 12:37:54.338013488 +0200
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 477,
/**/
--
We're knights of the round table
We dance whene'er we're able
We do routines and chorus scenes
With footwork impeccable.
We dine well here in Camelot
We eat ham and jam and spam a lot.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.