aboutsummaryrefslogtreecommitdiff
path: root/cmd-display-message.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-08 10:01:16 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-08 10:01:16 +0000
commitaf8134a6ffe8304b6cb1849995f446eab8e53b53 (patch)
tree02ada102c67552ff8e9f1ef3c88a096460dd0aaa /cmd-display-message.c
parenta988c36ccb7d411d995edfa9dbdb7682295d62a0 (diff)
parente0f26dcda36dc35741da6047a11efb853b3137d9 (diff)
downloadrtmux-af8134a6ffe8304b6cb1849995f446eab8e53b53.tar.gz
rtmux-af8134a6ffe8304b6cb1849995f446eab8e53b53.tar.bz2
rtmux-af8134a6ffe8304b6cb1849995f446eab8e53b53.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 1f9f40fa..2fb76caa 100644
--- a/cmd-display-message.c
+++ b/cmd-display-message.c
@@ -88,7 +88,7 @@ cmd_display_message_exec(struct cmd *self, struct cmd_q *cmdq)
if (template == NULL)
template = DISPLAY_MESSAGE_TEMPLATE;
- ft = format_create();
+ ft = format_create(0);
format_defaults(ft, c, s, wl, wp);
msg = format_expand_time(ft, template, time(NULL));