aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_utils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/screen_utils.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/screen_utils.c b/src/screen_utils.c
index baa371be1..09ce85787 100644
--- a/src/screen_utils.c
+++ b/src/screen_utils.c
@@ -110,7 +110,8 @@ screen_find(screen_t *screen,
list_window_t *lw,
int rows,
command_t findcmd,
- list_window_callback_fn_t callback_fn)
+ list_window_callback_fn_t callback_fn,
+ void *callback_data)
{
int reversed = 0;
int retval = 0;
@@ -145,14 +146,14 @@ screen_find(screen_t *screen,
if( reversed )
retval = list_window_rfind(lw,
callback_fn,
- c,
+ callback_data,
screen->findbuf,
options.find_wrap,
rows);
else
retval = list_window_find(lw,
callback_fn,
- c,
+ callback_data,
screen->findbuf,
options.find_wrap);
if( retval == 0 )