From abe838b099c4d5cb378c56170caa53b69d6a875b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 26 Jan 2012 14:32:30 +0100 Subject: 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. --- src/eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/eval.c') diff --git a/src/eval.c b/src/eval.c index 4ba4121d7..c63a5e0e5 100644 --- 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 */ -- cgit v1.2.3