mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
/WINDOW CLOSE <first> didn't work if <last> too wasn't specified..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1737 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
396ece99b6
commit
a444a3c92a
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ static void cmd_window_close(const char *data)
|
|||
}
|
||||
|
||||
first_num = *first == '\0' ? active_win->refnum : atoi(first);
|
||||
last_num = *last == '\0' ? active_win->refnum : atoi(last);
|
||||
last_num = *last == '\0' ? first_num : atoi(last);
|
||||
|
||||
/* get list of windows to destroy */
|
||||
destroys = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue