summaryrefslogtreecommitdiffstats
path: root/cmd-pipe-pane.c
diff options
context:
space:
mode:
authornicm <nicm>2019-03-14 23:14:27 +0000
committernicm <nicm>2019-03-14 23:14:27 +0000
commit10d60faba5d06db707a752be47dbb12abd4b8168 (patch)
tree6d5b681af6fde11533c5bd1f809e94e0ff94246d /cmd-pipe-pane.c
parentbace79a5715932f093d4c17db5d49af8e6594916 (diff)
Store the time in the format tree rather than passing it around.
Diffstat (limited to 'cmd-pipe-pane.c')
-rw-r--r--cmd-pipe-pane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-pipe-pane.c b/cmd-pipe-pane.c
index c0d2939f..084eafe5 100644
--- a/cmd-pipe-pane.c
+++ b/cmd-pipe-pane.c
@@ -110,7 +110,7 @@ cmd_pipe_pane_exec(struct cmd *self, struct cmdq_item *item)
/* Expand the command. */
ft = format_create(item->client, item, FORMAT_NONE, 0);
format_defaults(ft, c, s, wl, wp);
- cmd = format_expand_time(ft, args->argv[0], 0);
+ cmd = format_expand_time(ft, args->argv[0]);
format_free(ft);
/* Fork the child. */