From cc094fdfe6276b93683113f395edbc004837d362 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 4 Dec 2009 22:14:47 +0000 Subject: Sync OpenBSD patchset 581: 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... --- names.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'names.c') diff --git a/names.c b/names.c index 002dfef6..d4d128c9 100644 --- a/names.c +++ b/names.c @@ -1,4 +1,4 @@ -/* $Id: names.c,v 1.20 2009-11-28 14:50:36 tcunha Exp $ */ +/* $Id: names.c,v 1.21 2009-12-04 22:14:47 tcunha Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -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 { -- cgit