forked from aniani/vim
updated for version 7.4.477
Problem: When using ":%diffput" and the other file is empty an extra empty line remains. Solution: Set the buf_empty flag.
This commit is contained in:
@@ -2325,7 +2325,7 @@ ex_diffgetput(eap)
|
||||
end_skip = 0;
|
||||
}
|
||||
|
||||
buf_empty = FALSE;
|
||||
buf_empty = bufempty();
|
||||
added = 0;
|
||||
for (i = 0; i < count; ++i)
|
||||
{
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
477,
|
||||
/**/
|
||||
476,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user