Merge branch 'obsd-master'

This commit is contained in:
Thomas
2014-01-20 10:48:12 +00:00
19 changed files with 192 additions and 122 deletions

View File

@ -111,12 +111,8 @@ screen_set_cursor_colour(struct screen *s, const char *colour_string)
void
screen_set_title(struct screen *s, const char *title)
{
char tmp[BUFSIZ];
strlcpy(tmp, title, sizeof tmp);
free(s->title);
s->title = xstrdup(tmp);
s->title = xstrdup(title);
}
/* Resize screen. */