diff options
author | nicm <nicm> | 2017-04-21 14:09:44 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-04-21 14:09:44 +0000 |
commit | c799425069d02675474cda312fac1457829052fb (patch) | |
tree | 072ca7fbea547071b5f4a14de7edc166bf0ac51c /cmd-find.c | |
parent | 428be9803cab5121bc8ccad5ecbcce509c57b3a1 (diff) |
More unnecessary arguments now winlink points back to session.
Diffstat (limited to 'cmd-find.c')
-rw-r--r-- | cmd-find.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -895,12 +895,11 @@ cmd_find_from_session(struct cmd_find_state *fs, struct session *s) /* Find state from a winlink. */ int -cmd_find_from_winlink(struct cmd_find_state *fs, struct session *s, - struct winlink *wl) +cmd_find_from_winlink(struct cmd_find_state *fs, struct winlink *wl) { cmd_find_clear_state(fs, NULL, 0); - fs->s = s; + fs->s = wl->session; fs->wl = wl; fs->w = wl->window; fs->wp = wl->window->active; |