diff options
author | James Booth <boothj5@gmail.com> | 2013-05-16 23:23:27 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-05-16 23:23:27 +0100 |
commit | c6265adef4565da37206188a87522d868cc17c9f (patch) | |
tree | 6bb3a28076ec076eab15ef7eb51283d802841831 /src/command | |
parent | 2f149e0bc664357d5f06d3fd35b013caad59aebf (diff) | |
download | profani-tty-c6265adef4565da37206188a87522d868cc17c9f.tar.gz |
Show correct message when closing window 0
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
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--; } } |