mirror of
https://github.com/tmux/tmux.git
synced 2025-12-22 15:36:06 +00:00
Merge branch 'obsd-master'
This commit is contained in:
6
screen.c
6
screen.c
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user