diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-12-03 22:50:09 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-12-03 22:50:09 +0000 |
commit | 15a64b805e46584d37cc6745383709632e287999 (patch) | |
tree | 5a55f5006585c9cdde05163251fd99da243575b5 /names.c | |
parent | 6c9862662fd2cccdc55be9d447a27b10f33ed8ea (diff) | |
download | rtmux-15a64b805e46584d37cc6745383709632e287999.tar.gz rtmux-15a64b805e46584d37cc6745383709632e287999.tar.bz2 rtmux-15a64b805e46584d37cc6745383709632e287999.zip |
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...
Diffstat (limited to 'names.c')
-rw-r--r-- | names.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -59,7 +59,7 @@ window_name_callback(unused int fd, unused short events, void *data) if (name == NULL) wname = default_window_name(w); else { - /* + /* * If tmux is using the default command, it will be a login * shell and argv[0] may have a - prefix. Remove this if it is * present. Ick. @@ -71,13 +71,13 @@ window_name_callback(unused int fd, unused short events, void *data) wname = parse_window_name(name); xfree(name); } - + if (w->active->fd == -1) { xasprintf(&name, "%s[dead]", wname); xfree(wname); wname = name; } - + if (strcmp(wname, w->name) == 0) xfree(wname); else { |