Mercurial > vim
changeset 989:3f8cf4c668c3 v7.0.115
updated for version 7.0-115
author | vimboss |
---|---|
date | Tue, 03 Oct 2006 13:49:29 +0000 |
parents | cec8b867838b |
children | 9adbd26f7fee |
files | src/edit.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -2157,7 +2157,7 @@ ins_compl_add(str, len, icase, fname, cp do { if ( !(match->cp_flags & ORIGINAL_TEXT) - && ins_compl_equal(match, str, len) + && STRNCMP(match->cp_str, str, len) == 0 && match->cp_str[len] == NUL) return NOTDONE; match = match->cp_next; @@ -4042,7 +4042,7 @@ ins_compl_get_exp(ini) if (got_int) break; /* Fill the popup menu as soon as possible. */ - if (pum_wanted() && type != -1) + if (type != -1) ins_compl_check_keys(0); if ((ctrl_x_mode != 0 && ctrl_x_mode != CTRL_X_WHOLE_LINE)