summaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-08 18:19:48 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-08 18:19:48 +0200
commit473de61b0409f8f8c86585733f099f882122b280 (patch)
tree0c2b031a29a283c70d63368c38031517572d954c /src/misc2.c
parentcd9c46265e4a12cf716187bc8188c7399797f806 (diff)
downloadvim-473de61b0409f8f8c86585733f099f882122b280.zip
updated for version 7.3.1149
Problem: New regexp engine: Matching plain text could be faster. Solution: Detect a plain text match and handle it specifically. Add vim_regfree().
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 4d350c4fa..196641fad 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -1134,7 +1134,7 @@ free_all_mem()
/* Free some global vars. */
vim_free(username);
# ifdef FEAT_CLIPBOARD
- vim_free(clip_exclude_prog);
+ vim_regfree(clip_exclude_prog);
# endif
vim_free(last_cmdline);
# ifdef FEAT_CMDHIST
@@ -5008,8 +5008,8 @@ vim_findfile(search_ctx_arg)
#endif
{
/*
- * we don't have further wildcards to expand, so we have to
- * check for the final file now
+ * We don't have further wildcards to expand, so we have to
+ * check for the final file now.
*/
for (i = stackp->ffs_filearray_cur;
i < stackp->ffs_filearray_size; ++i)