aboutsummaryrefslogtreecommitdiff
path: root/cmd-command-prompt.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-13 18:01:43 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-13 18:01:43 +0100
commitacc00cd13a767067f85ed27d52ad543c9a58869c (patch)
tree924a72d2029f32a3fb2b544bbc295b7e19bd197e /cmd-command-prompt.c
parent0a11f1607b9f3623dce287d4940bb925b533a340 (diff)
parent34804f2709a16dca45dc072fb53d03f79db61e51 (diff)
downloadrtmux-acc00cd13a767067f85ed27d52ad543c9a58869c.tar.gz
rtmux-acc00cd13a767067f85ed27d52ad543c9a58869c.tar.bz2
rtmux-acc00cd13a767067f85ed27d52ad543c9a58869c.zip
Merge branch 'obsd-master'
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 31a1ae78..81f392f5 100644
--- a/cmd-command-prompt.c
+++ b/cmd-command-prompt.c
@@ -177,7 +177,7 @@ cmd_command_prompt_callback(struct client *c, void *data, const char *s,
cmdq_append(c, new_item);
break;
case CMD_PARSE_SUCCESS:
- new_item = cmdq_get_command(pr->cmdlist, NULL, NULL, 0);
+ new_item = cmdq_get_command(pr->cmdlist, NULL);
cmd_list_free(pr->cmdlist);
cmdq_append(c, new_item);
break;