diff options
Diffstat (limited to 'cmd-choose-buffer.c')
-rw-r--r-- | cmd-choose-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-choose-buffer.c b/cmd-choose-buffer.c index 33125a0e..af178976 100644 --- a/cmd-choose-buffer.c +++ b/cmd-choose-buffer.c @@ -53,7 +53,7 @@ cmd_choose_buffer_exec(struct cmd *self, struct cmd_q *cmdq) u_int idx; int utf8flag; - if ((c = cmd_current_client(cmdq)) == NULL) { + if ((c = cmd_find_client(cmdq, NULL, 1)) == NULL) { cmdq_error(cmdq, "no client available"); return (CMD_RETURN_ERROR); } |