summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2014-04-02 17:08:24 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2014-04-02 17:08:24 +0000
commit8e35d99803118c9bf079370164a18723fac7a7a4 (patch)
tree597bbaf92cda32947fe8557c7b9e3623ab2dcf0e /usr.bin/tmux/status.c
parent8e773826b575e3501a3c5ab8061788aa0c78ab02 (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.c5
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;