mirror of
https://github.com/tmux/tmux.git
synced 2025-01-13 03:48:51 +00:00
Do not replace ## with # in status_replace1 because it'll be done later
by the format code.
This commit is contained in:
parent
b52b40b2bc
commit
8880bdb67c
3
status.c
3
status.c
@ -396,9 +396,6 @@ status_replace1(struct client *c, char **iptr, char **optr, char *out,
|
|||||||
case '{':
|
case '{':
|
||||||
ptr = (char *) "#{";
|
ptr = (char *) "#{";
|
||||||
goto do_replace;
|
goto do_replace;
|
||||||
case '#':
|
|
||||||
*(*optr)++ = '#';
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
xsnprintf(tmp, sizeof tmp, "#%c", *(*iptr - 1));
|
xsnprintf(tmp, sizeof tmp, "#%c", *(*iptr - 1));
|
||||||
ptr = tmp;
|
ptr = tmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user