diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-01 00:01:28 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-01 00:01:28 +0000 |
commit | e224ffa156ce968d3e823fb8aa77d93812ca4092 (patch) | |
tree | 3b2339f73910b010487b90c7f12ed960c562e46e /src/edit.c | |
parent | 03f4855fc252dd389622715dd56cbc49423057ba (diff) | |
download | vim-git-7.0210.tar.gz |
updated for version 7.0210v7.0210
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/edit.c b/src/edit.c index 25a10be2a..dcf19b5bf 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3253,14 +3253,13 @@ expand_by_function(type, base) /* Go through the List with matches and add each of them. */ for (li = matchlist->lv_first; li != NULL; li = li->li_next) { + icase = p_ic; if (li->li_tv.v_type == VAR_DICT && li->li_tv.vval.v_dict != NULL) { p = get_dict_string(li->li_tv.vval.v_dict, (char_u *)"word", FALSE); x = get_dict_string(li->li_tv.vval.v_dict, (char_u *)"menu", FALSE); if (get_dict_string(li->li_tv.vval.v_dict, (char_u *)"icase", - FALSE) == NULL) - icase = p_ic; - else + FALSE) != NULL) icase = get_dict_number(li->li_tv.vval.v_dict, (char_u *)"icase"); } |