summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 5310824ee..78e3f201c 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -4338,7 +4338,7 @@ find_decl(
for (;;)
{
valid = FALSE;
- t = searchit(curwin, curbuf, &curwin->w_cursor, FORWARD,
+ t = searchit(curwin, curbuf, &curwin->w_cursor, NULL, FORWARD,
pat, 1L, searchflags, RE_LAST, (linenr_T)0, NULL, NULL);
if (curwin->w_cursor.lnum >= old_pos.lnum)
t = FAIL; /* match after start is failure too */