changeset 3294:e7e4dbac7ded v7.3.415

updated for version 7.3.415 Problem: Completion of functions stops once a dictionary is encountered. (James McCoy) Solution: Return an empty string instead of NULL.
author Bram Moolenaar <bram@vim.org>
date Thu, 26 Jan 2012 14:32:30 +0100
parents f95484362e4c
children 6b0ca8492ed0
files src/eval.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -21802,7 +21802,7 @@ get_user_func_name(xp, idx)
 	fp = HI2UF(hi);
 
 	if (fp->uf_flags & FC_DICT)
-	    return NULL; /* don't show dict functions */
+	    return ""; /* don't show dict functions */
 
 	if (STRLEN(fp->uf_name) + 4 >= IOSIZE)
 	    return fp->uf_name;	/* prevents overflow */
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    415,
+/**/
     414,
 /**/
     413,