Skip to content

Commit e26643e

Browse files
committed
patch 7.4.1441
Problem: Using empty name instead of no name for channel buffer. Solution: Remove the empty name.
1 parent fefecb0 commit e26643e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/channel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ find_buffer(char_u *name)
794794
buf = buflist_findname(name);
795795
if (buf == NULL)
796796
{
797-
buf = buflist_new(name == NULL ? (char_u *)"" : name,
797+
buf = buflist_new(name == NULL || *name == NUL ? NULL : name,
798798
NULL, (linenr_T)0, BLN_LISTED);
799799
buf_copy_options(buf, BCO_ENTER);
800800
#ifdef FEAT_QUICKFIX

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1441,
746748
/**/
747749
1440,
748750
/**/

0 commit comments

Comments
 (0)