Sync OpenBSD patchset 195:

Taking account of the "s, 22 not 24 is the maximum length of #T in
status-right to prevent the date being cut off.
pull/1/head
Tiago Cunha 2009-07-30 20:17:25 +00:00
parent 522fc94d12
commit 5a9b7b230c
1 changed files with 2 additions and 2 deletions

4
tmux.c
View File

@ -1,4 +1,4 @@
/* $Id: tmux.c,v 1.150 2009-07-28 22:12:16 tcunha Exp $ */
/* $Id: tmux.c,v 1.151 2009-07-30 20:17:25 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -371,7 +371,7 @@ main(int argc, char **argv)
options_set_number(&global_s_options, "status-right-length", 40);
options_set_string(&global_s_options, "status-left", "[#S]");
options_set_string(
&global_s_options, "status-right", "\"#24T\" %%H:%%M %%d-%%b-%%y");
&global_s_options, "status-right", "\"#22T\" %%H:%%M %%d-%%b-%%y");
if (flags & IDENTIFY_UTF8)
options_set_number(&global_s_options, "status-utf8", 1);
else