1
0
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:
Bram Moolenaar 2014-10-15 12:56:49 +02:00
parent dcc1ce2f5a
commit e962c6795b
2 changed files with 3 additions and 1 deletions

View File

@ -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)
{ {

View File

@ -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,
/**/ /**/