mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
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...
This commit is contained in:
6
names.c
6
names.c
@ -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 {
|
||||
|
Reference in New Issue
Block a user