diff options
-rw-r--r-- | src/edit.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index 94456aea7f..4858d02556 100644 --- 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 index 6fdf156d7c..50dc267150 100644 --- 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, |