summaryrefslogtreecommitdiffstats
path: root/cmd-new-window.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-21 14:09:44 +0000
committernicm <nicm>2017-04-21 14:09:44 +0000
commitc799425069d02675474cda312fac1457829052fb (patch)
tree072ca7fbea547071b5f4a14de7edc166bf0ac51c /cmd-new-window.c
parent428be9803cab5121bc8ccad5ecbcce509c57b3a1 (diff)
More unnecessary arguments now winlink points back to session.
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r--cmd-new-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c
index c10a4aaf..e99a8089 100644
--- a/cmd-new-window.c
+++ b/cmd-new-window.c
@@ -147,7 +147,7 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item)
if (to_free != NULL)
free((void *)to_free);
- cmd_find_from_winlink(&fs, s, wl);
+ cmd_find_from_winlink(&fs, wl);
hooks_insert(s->hooks, item, &fs, "after-new-window");
return (CMD_RETURN_NORMAL);