aboutsummaryrefslogtreecommitdiff
path: root/cmd-display-message.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-03-14 22:02:39 +0000
committerThomas Adam <thomas@xteddy.org>2019-03-14 22:02:39 +0000
commit2c755e3c55a35e412d75a870005547f77418c5b3 (patch)
tree83e7d582d6b95385f6d0ea521955c2d114e8992f /cmd-display-message.c
parentd58bccfc636fe0778fa1abefdb0a171165f27784 (diff)
parent38064e759342b38fbeea48ea716b7d29679271b1 (diff)
downloadrtmux-2c755e3c55a35e412d75a870005547f77418c5b3.tar.gz
rtmux-2c755e3c55a35e412d75a870005547f77418c5b3.tar.bz2
rtmux-2c755e3c55a35e412d75a870005547f77418c5b3.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-display-message.c')
-rw-r--r--cmd-display-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-display-message.c b/cmd-display-message.c
index 5856e2d8..6dd210ac 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, time(NULL));
+ msg = format_expand_time(ft, template, 0);
if (args_has(self->args, 'p'))
cmdq_print(item, "%s", msg);
else if (c != NULL)