Mercurial > vim
changeset 987:e625dad74346 v7.0.113
updated for version 7.0-113
author | vimboss |
---|---|
date | Tue, 03 Oct 2006 13:22:23 +0000 |
parents | 8fd2e00c44ae |
children | cec8b867838b |
files | src/edit.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -3206,7 +3206,8 @@ ins_compl_addfrommatch() for (cp = compl_shown_match->cp_next; cp != NULL && cp != compl_first_match; cp = cp->cp_next) { - if (ins_compl_equal(cp, compl_leader, + if (compl_leader == NULL + || ins_compl_equal(cp, compl_leader, (int)STRLEN(compl_leader))) { p = cp->cp_str;