diff options
author | nicm <nicm> | 2016-04-29 17:12:12 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-04-29 17:12:12 +0000 |
commit | 975aa3ccd61ae5981ea1174c43603b6bdad097f1 (patch) | |
tree | ec393c07fb2cefa1b653be586d534dec27014ed9 /cmd-if-shell.c | |
parent | eb8e76d4332e089e5cd3c5a3c9f4bf64c9474909 (diff) | |
download | rtmux-975aa3ccd61ae5981ea1174c43603b6bdad097f1.tar.gz rtmux-975aa3ccd61ae5981ea1174c43603b6bdad097f1.tar.bz2 rtmux-975aa3ccd61ae5981ea1174c43603b6bdad097f1.zip |
Expand client formats (like run-shell), from Stephen M Coakley.
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r-- | cmd-if-shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c index 2f47a0d7..7d3e8e12 100644 --- a/cmd-if-shell.c +++ b/cmd-if-shell.c @@ -81,7 +81,7 @@ cmd_if_shell_exec(struct cmd *self, struct cmd_q *cmdq) cwd = NULL; ft = format_create(cmdq, 0); - format_defaults(ft, NULL, s, wl, wp); + format_defaults(ft, cmdq->state.c, s, wl, wp); shellcmd = format_expand(ft, args->argv[0]); format_free(ft); |