diff options
author | 2009-12-03 22:50:09 +0000 | |
---|---|---|
committer | 2009-12-03 22:50:09 +0000 | |
commit | 197ec97c8443d9515f7229a99d8cf5b485aa116b (patch) | |
tree | 82c19c9b632b9376bb8ab52e8dcaf1e4525abe49 /usr.bin/tmux/names.c | |
parent | Stop the IdleHold timer when going to idle state. This makes it a bit (diff) | |
download | wireguard-openbsd-197ec97c8443d9515f7229a99d8cf5b485aa116b.tar.xz wireguard-openbsd-197ec97c8443d9515f7229a99d8cf5b485aa116b.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 'usr.bin/tmux/names.c')
-rw-r--r-- | usr.bin/tmux/names.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/names.c b/usr.bin/tmux/names.c index 858ba919399..46f953998c2 100644 --- a/usr.bin/tmux/names.c +++ b/usr.bin/tmux/names.c @@ -1,4 +1,4 @@ -/* $OpenBSD: names.c,v 1.10 2009/11/26 21:37:13 nicm Exp $ */ +/* $OpenBSD: names.c,v 1.11 2009/12/03 22:50:10 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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 { |