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:
parent
dcc1ce2f5a
commit
e962c6795b
@ -2325,7 +2325,7 @@ ex_diffgetput(eap)
|
|||||||
end_skip = 0;
|
end_skip = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
buf_empty = FALSE;
|
buf_empty = bufempty();
|
||||||
added = 0;
|
added = 0;
|
||||||
for (i = 0; i < count; ++i)
|
for (i = 0; i < count; ++i)
|
||||||
{
|
{
|
||||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
477,
|
||||||
/**/
|
/**/
|
||||||
476,
|
476,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user