diff options
author | 2015-12-11 12:27:36 +0000 | |
---|---|---|
committer | 2015-12-11 12:27:36 +0000 | |
commit | 229bdecfd990c2b9c38421eeda34fc1f20a08adc (patch) | |
tree | afcb4b1a3e169bc16ed1c3880ee342d43994d4fe /usr.bin/tmux/cmd-display-message.c | |
parent | Work around Nvidia EHCI controllers bugs. (diff) | |
download | wireguard-openbsd-229bdecfd990c2b9c38421eeda34fc1f20a08adc.tar.xz wireguard-openbsd-229bdecfd990c2b9c38421eeda34fc1f20a08adc.zip |
Add cmdq as an argument to format_create and add a format for the
command name (will also be used for more later).
Diffstat (limited to 'usr.bin/tmux/cmd-display-message.c')
-rw-r--r-- | usr.bin/tmux/cmd-display-message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-display-message.c b/usr.bin/tmux/cmd-display-message.c index 847d842c383..a5858249a07 100644 --- a/usr.bin/tmux/cmd-display-message.c +++ b/usr.bin/tmux/cmd-display-message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-display-message.c,v 1.30 2015/12/08 08:34:18 nicm Exp $ */ +/* $OpenBSD: cmd-display-message.c,v 1.31 2015/12/11 12:27:36 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -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(0); + ft = format_create(cmdq, 0); format_defaults(ft, c, s, wl, wp); msg = format_expand_time(ft, template, time(NULL)); |