Allow /wins swap to move to empty position

This commit is contained in:
James Booth
2014-04-24 23:06:42 +01:00
parent 547b6cf4da
commit e9ddbab585
3 changed files with 23 additions and 2 deletions

View File

@@ -691,7 +691,6 @@ static gboolean
_ui_switch_win(const int i)
{
if (ui_win_exists(i)) {
ui_current_page_off();
ProfWin *new_current = wins_get_by_num(i);
wins_set_current_by_num(i);
ui_current_page_off();