summaryrefslogtreecommitdiffstats
path: root/cmd-send-prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-send-prefix.c')
-rw-r--r--cmd-send-prefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-send-prefix.c b/cmd-send-prefix.c
index ccc98151..c7f7e9fa 100644
--- a/cmd-send-prefix.c
+++ b/cmd-send-prefix.c
@@ -49,7 +49,7 @@ cmd_send_prefix_exec(struct cmd *self, struct cmd_ctx *ctx)
return (-1);
keylist = options_get_data(&s->options, "prefix");
- window_pane_key(wp, ctx->curclient, ARRAY_FIRST(keylist));
+ window_pane_key(wp, s, ARRAY_FIRST(keylist));
return (0);
}