summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 6305b58b1..3a4d4589a 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1342,7 +1342,7 @@ do_search(
*/
ps = strcopy;
p = skip_regexp_ex(pat, search_delim, magic_isset(),
- &strcopy, NULL);
+ &strcopy, NULL, NULL);
if (strcopy != ps)
{
// made a copy of "pat" to change "\?" to "?"