summaryrefslogtreecommitdiffstats
path: root/server-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-19 16:22:10 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-19 16:22:10 +0000
commit543fb99bc60a82eeb8c1e3fa47cdcb86a1e2fb33 (patch)
treed786032c6ea64b79aaea5ff7eb3a4b89047aee62 /server-client.c
parent8b8a2111852e9c2ce0cbc5e867d29ca78d4948a5 (diff)
Two new options, window-status-format and window-status-current-format, which
allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet.
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c
index 7334d4b4..e6560931 100644
--- a/server-client.c
+++ b/server-client.c
@@ -489,7 +489,7 @@ server_client_set_title(struct client *c)
template = options_get_string(&s->options, "set-titles-string");
- title = status_replace(c, template, time(NULL), 1);
+ title = status_replace(c, NULL, template, time(NULL), 1);
if (c->title == NULL || strcmp(title, c->title) != 0) {
if (c->title != NULL)
xfree(c->title);