From 46ca82aed1a61bbac2eca7c7aea205783c73877f Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 14 Mar 2019 21:27:27 +0000 Subject: Accept 0 time as a shorthand for now to format_expand_time. --- usr.bin/tmux/cmd-pipe-pane.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/cmd-pipe-pane.c') diff --git a/usr.bin/tmux/cmd-pipe-pane.c b/usr.bin/tmux/cmd-pipe-pane.c index 34f5fa27ec5..ce5f64da910 100644 --- a/usr.bin/tmux/cmd-pipe-pane.c +++ b/usr.bin/tmux/cmd-pipe-pane.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-pipe-pane.c,v 1.49 2018/11/30 08:44:40 nicm Exp $ */ +/* $OpenBSD: cmd-pipe-pane.c,v 1.50 2019/03/14 21:27:26 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -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], time(NULL)); + cmd = format_expand_time(ft, args->argv[0], 0); format_free(ft); /* Fork the child. */ -- cgit v1.2.3