summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-27 21:53:02 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-27 21:53:02 +0100
commite26643e6bcd6c6c42f5eae78cee2e7950cd3f629 (patch)
treecf7b70fc4f0800c1ede3041c19fa4caf0c2a24a4
parentfefecb0fbe14c44d46f91036d76bbb6c28162da8 (diff)
downloadvim-e26643e6bcd6c6c42f5eae78cee2e7950cd3f629.zip
patch 7.4.1441
Problem: Using empty name instead of no name for channel buffer. Solution: Remove the empty name.
-rw-r--r--src/channel.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -744,6 +744,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1441,
+/**/
1440,
/**/
1439,