aboutsummaryrefslogtreecommitdiff
path: root/cmd-command-prompt.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-23 13:03:47 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-23 13:03:47 +0000
commit57eb334d5b989642c84b974908c43c729983d1b8 (patch)
tree5600670a3688454d211b34ff8d45419bcd06d94c /cmd-command-prompt.c
parent5f904aa35002246ee1005e3849455ccbdc321781 (diff)
parentee0f8adfac76cdf21cfd2c0b503d8d66dcb883cc (diff)
downloadrtmux-57eb334d5b989642c84b974908c43c729983d1b8.tar.gz
rtmux-57eb334d5b989642c84b974908c43c729983d1b8.tar.bz2
rtmux-57eb334d5b989642c84b974908c43c729983d1b8.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r--cmd-command-prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c
index e1db3dd4..97284898 100644
--- a/cmd-command-prompt.c
+++ b/cmd-command-prompt.c
@@ -94,7 +94,7 @@ cmd_command_prompt_exec(struct cmd *self, struct cmd_ctx *ctx)
char *prompt, *ptr, *input = NULL;
size_t n;
- if ((c = cmd_find_client(ctx, args_get(args, 't'))) == NULL)
+ if ((c = cmd_find_client(ctx, args_get(args, 't'), 0)) == NULL)
return (CMD_RETURN_ERROR);
if (c->prompt_string != NULL)