about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 214c8069..4a69a05b 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -2990,10 +2990,6 @@ cmd_close(gchar **args, struct cmd_help_t help)
         return TRUE;
     }
 
-    if (index == 0) {
-        index = 10;
-    }
-
     if (!ui_win_exists(index)) {
         cons_show("Window is not open.");
         return TRUE;