commit | d5cdbeb8dd859510c4674b17b67d613eff40a984 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Oct 10 20:59:28 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Oct 10 20:59:28 2005 +0000 |
tree | 7efb2d890b1eb727c0e15a2ade2613b606ad6c9b | |
parent | 196dfbcca1af4cf07f600e0186757d9adf097e7f [diff] [blame] |
updated for version 7.0155
diff --git a/src/edit.c b/src/edit.c index 140c17f..b1b7b4c 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -3031,10 +3031,7 @@ #ifdef FEAT_COMPL_FUNC case CTRL_X_FUNCTION: case CTRL_X_OMNI: - if (*compl_pattern == NUL) - num_matches = 0; - else - num_matches = expand_by_function(type, compl_pattern, &matches); + num_matches = expand_by_function(type, compl_pattern, &matches); if (num_matches > 0) ins_compl_add_matches(num_matches, matches, dir); break;