Mercurial > vim
diff src/tag.c @ 2311:ccda151dde4e vim73
Support completion for ":find". (Nazri Ramliy)
Cleanup white space.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 14 Jul 2010 16:52:17 +0200 |
parents | 8a2092b558c2 |
children | 9fe4164cb586 |
line wrap: on
line diff
--- a/src/tag.c +++ b/src/tag.c @@ -2551,8 +2551,8 @@ free_tag_stuff() # if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX) if (ptag_entry.tagname) { - vim_free(ptag_entry.tagname); - ptag_entry.tagname = NULL; + vim_free(ptag_entry.tagname); + ptag_entry.tagname = NULL; } # endif } @@ -2678,7 +2678,7 @@ get_tagfname(tnp, first, buf) tnp->tn_search_ctx = vim_findfile_init(buf, filename, r_ptr, 100, - FALSE, /* don't free visited list */ + FALSE, /* don't free visited list */ FINDFILE_FILE, /* we search for a file */ tnp->tn_search_ctx, TRUE, curbuf->b_ffname); if (tnp->tn_search_ctx != NULL)