summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/names.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-12-03 22:50:09 +0000
committernicm <nicm@openbsd.org>2009-12-03 22:50:09 +0000
commit197ec97c8443d9515f7229a99d8cf5b485aa116b (patch)
tree82c19c9b632b9376bb8ab52e8dcaf1e4525abe49 /usr.bin/tmux/names.c
parentStop the IdleHold timer when going to idle state. This makes it a bit (diff)
downloadwireguard-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.c8
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 {