mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05: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
@ -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…
Reference in New Issue
Block a user