diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-11-19 22:35:10 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-11-19 22:35:10 +0000 |
commit | f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1 (patch) | |
tree | 3d17ba79b17cfa05ba90112f7209014249ce7af7 /server-client.c | |
parent | 1feea926ed83c15232df01756aed771afd7168f2 (diff) | |
download | rtmux-f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1.tar.gz rtmux-f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1.tar.bz2 rtmux-f9451028c0a7d3d53aa3aa2549bd9d632e9fc3b1.zip |
Sync OpenBSD patchset 553:
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server-client.c b/server-client.c index 2b603b01..d89be1aa 100644 --- a/server-client.c +++ b/server-client.c @@ -1,4 +1,4 @@ -/* $Id: server-client.c,v 1.23 2009-11-19 22:25:52 tcunha Exp $ */ +/* $Id: server-client.c,v 1.24 2009-11-19 22:35:10 tcunha Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -488,7 +488,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); |