mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05: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