aboutsummaryrefslogtreecommitdiff
path: root/key-bindings.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-20 10:59:02 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-20 10:59:02 +0000
commitf81d72326458ec421348ab5aecc7038c1850407c (patch)
tree1a6c69c7125fa46d846064e71d5f171a6d4f6c22 /key-bindings.c
parente487b87f6f5bb862f9b185f3791b99fa99083ce9 (diff)
parentafd5e978cf8dca6dcd824b224ce798f6b7522605 (diff)
downloadrtmux-f81d72326458ec421348ab5aecc7038c1850407c.tar.gz
rtmux-f81d72326458ec421348ab5aecc7038c1850407c.tar.bz2
rtmux-f81d72326458ec421348ab5aecc7038c1850407c.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c3
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;