mirror of
https://github.com/tmux/tmux.git
synced 2025-10-12 12:56:01 +00:00
Merge branch 'obsd-master'
Conflicts: Makefile cmd-server-info.c cmd-start-server.c
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