File: upstream-8880bdb67c.diff

package info (click to toggle)
tmux 1.9-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,912 kB
  • ctags: 3,263
  • sloc: ansic: 32,468; sh: 4,311; awk: 339; makefile: 248
file content (21 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
commit 8880bdb67c9d939ec53506d05f5ce1d75be10c97
Author: nicm <nicm>
Date:   Wed Apr 2 17:08:23 2014 +0000

    Do not replace ## with # in status_replace1 because it'll be done later
    by the format code.

diff --git a/status.c b/status.c
index bf528b0..029be4c 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;