summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-10-03 13:22:23 +0000
committerBram Moolenaar <Bram@vim.org>2006-10-03 13:22:23 +0000
commit132283f943df785d6c4ea89317250fa13bea0315 (patch)
tree5565c899ea7873cb03d6406998ccbd1775203919
parent658ada69f4fe6ba337228d2cb71bb1cafe0d26e9 (diff)
downloadvim-132283f943df785d6c4ea89317250fa13bea0315.zip
updated for version 7.0-113
-rw-r--r--src/edit.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 94456aea7..4858d0255 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 6fdf156d7..50dc26715 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,