1
0
forked from aniani/vim

patch 7.4.1441

Problem:    Using empty name instead of no name for channel buffer.
Solution:   Remove the empty name.
This commit is contained in:
Bram Moolenaar
2016-02-27 21:53:02 +01:00
parent fefecb0fbe
commit e26643e6bc
2 changed files with 3 additions and 1 deletions

View File

@@ -794,7 +794,7 @@ find_buffer(char_u *name)
buf = buflist_findname(name);
if (buf == NULL)
{
buf = buflist_new(name == NULL ? (char_u *)"" : name,
buf = buflist_new(name == NULL || *name == NUL ? NULL : name,
NULL, (linenr_T)0, BLN_LISTED);
buf_copy_options(buf, BCO_ENTER);
#ifdef FEAT_QUICKFIX

View File

@@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1441,
/**/
1440,
/**/