diff options
author | nicm <nicm> | 2019-03-14 23:14:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-03-14 23:14:27 +0000 |
commit | 10d60faba5d06db707a752be47dbb12abd4b8168 (patch) | |
tree | 6d5b681af6fde11533c5bd1f809e94e0ff94246d /cmd-display-message.c | |
parent | bace79a5715932f093d4c17db5d49af8e6594916 (diff) | |
download | rtmux-10d60faba5d06db707a752be47dbb12abd4b8168.tar.gz rtmux-10d60faba5d06db707a752be47dbb12abd4b8168.tar.bz2 rtmux-10d60faba5d06db707a752be47dbb12abd4b8168.zip |
Store the time in the format tree rather than passing it around.
Diffstat (limited to 'cmd-display-message.c')
-rw-r--r-- | cmd-display-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-display-message.c b/cmd-display-message.c index 6dd210ac..c55cf1e2 100644 --- a/cmd-display-message.c +++ b/cmd-display-message.c @@ -86,7 +86,7 @@ cmd_display_message_exec(struct cmd *self, struct cmdq_item *item) ft = format_create(item->client, item, FORMAT_NONE, 0); format_defaults(ft, target_c, s, wl, wp); - msg = format_expand_time(ft, template, 0); + msg = format_expand_time(ft, template); if (args_has(self->args, 'p')) cmdq_print(item, "%s", msg); else if (c != NULL) |