mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
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);
|
buf = buflist_findname(name);
|
||||||
if (buf == NULL)
|
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);
|
NULL, (linenr_T)0, BLN_LISTED);
|
||||||
buf_copy_options(buf, BCO_ENTER);
|
buf_copy_options(buf, BCO_ENTER);
|
||||||
#ifdef FEAT_QUICKFIX
|
#ifdef FEAT_QUICKFIX
|
||||||
|
@@ -743,6 +743,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 */
|
||||||
|
/**/
|
||||||
|
1441,
|
||||||
/**/
|
/**/
|
||||||
1440,
|
1440,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user