Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2019-03-14 22:02:39 +00:00
5 changed files with 25 additions and 8 deletions

View File

@@ -1547,7 +1547,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, time(NULL));
title = format_expand_time(ft, template, 0);
if (c->title == NULL || strcmp(title, c->title) != 0) {
free(c->title);
c->title = xstrdup(title);