]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1441 v7.4.1441
authorBram Moolenaar <Bram@vim.org>
Sat, 27 Feb 2016 20:53:02 +0000 (21:53 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 27 Feb 2016 20:53:02 +0000 (21:53 +0100)
Problem:    Using empty name instead of no name for channel buffer.
Solution:   Remove the empty name.

src/channel.c
src/version.c

index 0721ebede97eb800ea3e4d2e90d0ba21742fb2ea..da76cbe82a6e0616f0f81288a53a49b72292a528 100644 (file)
@@ -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
index 08ce4146e215c65ea6f06ae2874ddd22a3d1755e..505d1701d557098efe16c95aca9865570aafad96 100644 (file)
@@ -743,6 +743,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1441,
 /**/
     1440,
 /**/