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:
@@ -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
|
||||
|
@@ -743,6 +743,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1441,
|
||||
/**/
|
||||
1440,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user