summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-11 22:40:32 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-11 22:40:32 +0000
commit3b56eb3d3188b4fdf3956df8e7c709fabf9969ca (patch)
treedf963f784d8a6032eb798f27975541c84b16527f /src/search.c
parent9ff7011bcba731fc32e0cf6de8f4b037c0fcc3ec (diff)
downloadvim-3b56eb3d3188b4fdf3956df8e7c709fabf9969ca.zip
updated for version 7.0107
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/search.c b/src/search.c
index 034d9c4a8..84fcbab0c 100644
--- a/src/search.c
+++ b/src/search.c
@@ -215,6 +215,7 @@ search_regcomp(pat, pat_save, pat_use, options, regmatch)
}
regmatch->rmm_ic = ignorecase(pat);
+ regmatch->rmm_maxcol = 0;
regmatch->regprog = vim_regcomp(pat, magic ? RE_MAGIC : 0);
if (regmatch->regprog == NULL)
return FAIL;