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 /server-client.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 'server-client.c')
-rw-r--r-- | server-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c index 5bd77c84..ba24034b 100644 --- a/server-client.c +++ b/server-client.c @@ -1537,7 +1537,7 @@ server_client_set_title(struct client *c) ft = format_create(c, NULL, FORMAT_NONE, 0); format_defaults(ft, c, NULL, NULL, NULL); - title = format_expand_time(ft, template, 0); + title = format_expand_time(ft, template); if (c->title == NULL || strcmp(title, c->title) != 0) { free(c->title); c->title = xstrdup(title); |