# HG changeset patch # User vimboss # Date 1159881743 0 # Node ID e625dad74346d76132cbcf6ddf98b95d2c8fbfe5 # Parent 8fd2e00c44ae10bd9e8a8f5c12db47378314457a updated for version 7.0-113 diff --git a/src/edit.c b/src/edit.c --- 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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 113, +/**/ 112, /**/ 111,