From e26643e6bcd6c6c42f5eae78cee2e7950cd3f629 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 27 Feb 2016 21:53:02 +0100 Subject: patch 7.4.1441 Problem: Using empty name instead of no name for channel buffer. Solution: Remove the empty name. --- src/channel.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/channel.c b/src/channel.c index 0721ebede..da76cbe82 100644 --- a/src/channel.c +++ b/src/channel.c @@ -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 diff --git a/src/version.c b/src/version.c index 08ce4146e..505d1701d 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1441, /**/ 1440, /**/ -- cgit v1.2.3