comparison src/edit.c @ 767:6c8a16911e94

updated for version 7.0225
author vimboss
date Wed, 15 Mar 2006 23:03:01 +0000
parents 07f7b4a7755c
children 8c9ef63b1ccc
comparison
equal deleted inserted replaced
766:f0d0d3d3a1e2 767:6c8a16911e94
2144 flags |= FREE_FNAME; 2144 flags |= FREE_FNAME;
2145 } 2145 }
2146 else 2146 else
2147 match->cp_fname = NULL; 2147 match->cp_fname = NULL;
2148 match->cp_flags = flags; 2148 match->cp_flags = flags;
2149 if (kind != NULL) 2149 if (kind != NULL && *kind != NUL)
2150 match->cp_kind = vim_strsave(kind); 2150 match->cp_kind = vim_strsave(kind);
2151 if (extra != NULL) 2151 if (extra != NULL && *extra != NUL)
2152 match->cp_extra = vim_strsave(extra); 2152 match->cp_extra = vim_strsave(extra);
2153 if (info != NULL) 2153 if (info != NULL && *info != NUL)
2154 match->cp_info = vim_strsave(info); 2154 match->cp_info = vim_strsave(info);
2155 2155
2156 /* 2156 /*
2157 * Link the new match structure in the list of matches. 2157 * Link the new match structure in the list of matches.
2158 */ 2158 */