mirror of
https://github.com/tmux/tmux.git
synced 2026-10-15 07:44:24 +00:00
Merge branch 'obsd-master'
This commit is contained in:
4
window.c
4
window.c
@@ -420,11 +420,11 @@ window_remove_ref(struct window *w, const char *from)
|
||||
}
|
||||
|
||||
void
|
||||
window_set_name(struct window *w, const char *new_name, const char *forbid)
|
||||
window_set_name(struct window *w, const char *new_name, int untrusted)
|
||||
{
|
||||
char *name;
|
||||
|
||||
name = clean_name(new_name, forbid);
|
||||
name = clean_name(new_name, untrusted);
|
||||
if (name != NULL) {
|
||||
free(w->name);
|
||||
w->name = name;
|
||||
|
||||
Reference in New Issue
Block a user