mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 00:23:08 +01:00
Make it compile on the portable version.
This commit is contained in:
parent
ab38d91913
commit
81336d6bb0
4
names.c
4
names.c
@ -1,4 +1,4 @@
|
||||
/* $Id: names.c,v 1.18 2009-11-08 23:22:24 tcunha Exp $ */
|
||||
/* $Id: names.c,v 1.19 2009-11-08 23:23:36 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -54,7 +54,7 @@ window_name_callback(unused int fd, unused short events, void *data)
|
||||
if (w->active->screen != &w->active->base)
|
||||
name = NULL;
|
||||
else
|
||||
name = get_proc_name(w->active->fd, w->active->tty);
|
||||
name = osdep_get_name(w->active->fd, w->active->tty);
|
||||
if (name == NULL)
|
||||
wname = default_window_name(w);
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user