Mercurial > vim
comparison src/edit.c @ 697:f08390485cd3 v7.0210
updated for version 7.0210
author | vimboss |
---|---|
date | Wed, 01 Mar 2006 00:01:28 +0000 |
parents | 07d199fe02ed |
children | 2fae45239fb3 |
comparison
equal
deleted
inserted
replaced
696:f0a9ef4db025 | 697:f08390485cd3 |
---|---|
3251 return; | 3251 return; |
3252 | 3252 |
3253 /* Go through the List with matches and add each of them. */ | 3253 /* Go through the List with matches and add each of them. */ |
3254 for (li = matchlist->lv_first; li != NULL; li = li->li_next) | 3254 for (li = matchlist->lv_first; li != NULL; li = li->li_next) |
3255 { | 3255 { |
3256 icase = p_ic; | |
3256 if (li->li_tv.v_type == VAR_DICT && li->li_tv.vval.v_dict != NULL) | 3257 if (li->li_tv.v_type == VAR_DICT && li->li_tv.vval.v_dict != NULL) |
3257 { | 3258 { |
3258 p = get_dict_string(li->li_tv.vval.v_dict, (char_u *)"word", FALSE); | 3259 p = get_dict_string(li->li_tv.vval.v_dict, (char_u *)"word", FALSE); |
3259 x = get_dict_string(li->li_tv.vval.v_dict, (char_u *)"menu", FALSE); | 3260 x = get_dict_string(li->li_tv.vval.v_dict, (char_u *)"menu", FALSE); |
3260 if (get_dict_string(li->li_tv.vval.v_dict, (char_u *)"icase", | 3261 if (get_dict_string(li->li_tv.vval.v_dict, (char_u *)"icase", |
3261 FALSE) == NULL) | 3262 FALSE) != NULL) |
3262 icase = p_ic; | |
3263 else | |
3264 icase = get_dict_number(li->li_tv.vval.v_dict, | 3263 icase = get_dict_number(li->li_tv.vval.v_dict, |
3265 (char_u *)"icase"); | 3264 (char_u *)"icase"); |
3266 } | 3265 } |
3267 else | 3266 else |
3268 { | 3267 { |