1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Show correct message when closing window 0

This commit is contained in:
James Booth 2013-05-16 23:23:27 +01:00
parent 2f149e0bc6
commit c6265adef4

View File

@ -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--;
}
}