From 132283f943df785d6c4ea89317250fa13bea0315 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 3 Oct 2006 13:22:23 +0000 Subject: updated for version 7.0-113 --- src/edit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/edit.c') 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; -- cgit v1.2.3