diff options
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/key-bindings.c b/key-bindings.c index f510ba68..9e5a729a 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -266,8 +266,7 @@ key_bindings_dispatch(struct key_binding *bd, struct client *c) struct cmd *cmd; int readonly; - ctx = cmd_get_ctx(); - ctx->curclient = c; + ctx = cmd_get_ctx(NULL, c); ctx->error = key_bindings_error; ctx->print = key_bindings_print; ctx->info = key_bindings_info; |