0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

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.
This commit is contained in:
Bram Moolenaar
2012-01-26 14:32:30 +01:00
parent 06af60244e
commit abe838b099
2 changed files with 3 additions and 1 deletions

View File

@@ -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 */