diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2014-04-02 17:08:24 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2014-04-02 17:08:24 +0000 |
commit | 8e35d99803118c9bf079370164a18723fac7a7a4 (patch) | |
tree | 597bbaf92cda32947fe8557c7b9e3623ab2dcf0e /usr.bin/tmux/status.c | |
parent | 8e773826b575e3501a3c5ab8061788aa0c78ab02 (diff) |
Do not replace ## with # in status_replace1 because it'll be done later
by the format code.
Diffstat (limited to 'usr.bin/tmux/status.c')
-rw-r--r-- | usr.bin/tmux/status.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c index 17ab9b4afaa..9ca0a089994 100644 --- a/usr.bin/tmux/status.c +++ b/usr.bin/tmux/status.c @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.111 2014/03/31 21:41:35 nicm Exp $ */ +/* $OpenBSD: status.c,v 1.112 2014/04/02 17:08:23 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -396,9 +396,6 @@ status_replace1(struct client *c, char **iptr, char **optr, char *out, case '{': ptr = (char *) "#{"; goto do_replace; - case '#': - *(*optr)++ = '#'; - break; default: xsnprintf(tmp, sizeof tmp, "#%c", *(*iptr - 1)); ptr = tmp; |