aboutsummaryrefslogtreecommitdiff
path: root/screen.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-08-30 21:44:01 +0100
committerThomas Adam <thomas@xteddy.org>2015-08-30 21:44:01 +0100
commitcb89f2f2a197db5bf7e1acc8248f381c6f0410cd (patch)
tree9074f8aa373b1bcb857fee46a47d305152cacf06 /screen.c
parent486421ceff1b4d618d84ac3cb8c4dd9135b7960d (diff)
parentb87dc608d9b5b470926aaf77c5956befdfb7bc7b (diff)
downloadrtmux-cb89f2f2a197db5bf7e1acc8248f381c6f0410cd.tar.gz
rtmux-cb89f2f2a197db5bf7e1acc8248f381c6f0410cd.tar.bz2
rtmux-cb89f2f2a197db5bf7e1acc8248f381c6f0410cd.zip
Merge branch 'obsd-master'
Conflicts: Makefile format.c
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/screen.c b/screen.c
index c1df95ad..01314330 100644
--- a/screen.c
+++ b/screen.c
@@ -32,14 +32,8 @@ void screen_resize_y(struct screen *, u_int);
void
screen_init(struct screen *s, u_int sx, u_int sy, u_int hlimit)
{
- char host[HOST_NAME_MAX+1];
-
s->grid = grid_create(sx, sy, hlimit);
-
- if (gethostname(host, sizeof(host)) == 0)
- s->title = xstrdup(host);
- else
- s->title = xstrdup("");
+ s->title = xstrdup("");
s->cstyle = 0;
s->ccolour = xstrdup("");