mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
/WINDOW NAME now ignores if you're setting same name to it without
complaining. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2679 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
24c83dcfc4
commit
d25bb43043
@ -510,7 +510,8 @@ static void cmd_window_name(const char *data)
|
||||
{
|
||||
if (window_find_name(data) == NULL)
|
||||
window_set_name(active_win, data);
|
||||
else {
|
||||
else if (active_win->name == NULL ||
|
||||
strcmp(active_win->name, data) != 0) {
|
||||
printformat_window(active_win, MSGLEVEL_CLIENTERROR,
|
||||
TXT_WINDOW_NAME_NOT_UNIQUE, data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user