vim-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.

https://code.google.com/p/vim/source/detail?r=v7-4-477
This commit is contained in:
Florian Walch 2014-12-23 12:22:43 +01:00
parent 0a20cd7f50
commit 5b98a4338f
2 changed files with 2 additions and 2 deletions

View File

@ -2237,7 +2237,7 @@ void ex_diffgetput(exarg_T *eap)
}
}
buf_empty = FALSE;
buf_empty = bufempty();
added = 0;
for (i = 0; i < count; ++i) {

View File

@ -261,7 +261,7 @@ static int included_patches[] = {
//480 NA
//479 NA
478,
//477,
477,
//476 NA
//475 NA
//474,