aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_browser.c')
-rw-r--r--src/screen_browser.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/screen_browser.c b/src/screen_browser.c
index e68e70285..00965edb0 100644
--- a/src/screen_browser.c
+++ b/src/screen_browser.c
@@ -453,7 +453,7 @@ browser_handle_mouse_event(struct screen_browser *browser, mpdclient_t *c)
#endif
bool
-browser_cmd(struct screen_browser *browser, struct screen *screen,
+browser_cmd(struct screen_browser *browser,
struct mpdclient *c, command_t cmd)
{
struct filelist_entry *entry;
@@ -487,8 +487,7 @@ browser_cmd(struct screen_browser *browser, struct screen *screen,
case CMD_LIST_RFIND:
case CMD_LIST_FIND_NEXT:
case CMD_LIST_RFIND_NEXT:
- screen_find(screen,
- browser->lw, filelist_length(browser->filelist),
+ screen_find(browser->lw, filelist_length(browser->filelist),
cmd, browser_lw_callback,
browser->filelist);
return true;