summaryrefslogtreecommitdiffstats
path: root/status.c
diff options
context:
space:
mode:
authornicm <nicm>2014-04-02 17:08:23 +0000
committernicm <nicm>2014-04-02 17:08:23 +0000
commit8880bdb67c9d939ec53506d05f5ce1d75be10c97 (patch)
tree864e45dc31cc3689267cec1012c48bb2513dc898 /status.c
parentb52b40b2bc9e90e2e585aa2158aee45fcbe1db86 (diff)
Do not replace ## with # in status_replace1 because it'll be done later
by the format code.
Diffstat (limited to 'status.c')
-rw-r--r--status.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/status.c b/status.c
index bf528b0d..029be4c8 100644
--- a/status.c
+++ b/status.c
@@ -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;