From c6265adef4565da37206188a87522d868cc17c9f Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 16 May 2013 23:23:27 +0100 Subject: [PATCH] Show correct message when closing window 0 --- src/command/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/command.c b/src/command/command.c index 15a6228d..90e5138b 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -2544,7 +2544,7 @@ _cmd_close(gchar **args, struct cmd_help_t help) index = atoi(args[0]); if (index == 0) { index = 9; - } else { + } else if (index != 10) { index--; } }