mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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;
|
||||
}
|
||||
|
||||
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,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user