Do not replace ## with # in status_replace1 because it'll be done later

by the format code.
This commit is contained in:
nicm 2014-04-02 17:08:23 +00:00
parent b52b40b2bc
commit 8880bdb67c

View File

@ -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;