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:
parent
2f149e0bc6
commit
c6265adef4
@ -2544,7 +2544,7 @@ _cmd_close(gchar **args, struct cmd_help_t help)
|
|||||||
index = atoi(args[0]);
|
index = atoi(args[0]);
|
||||||
if (index == 0) {
|
if (index == 0) {
|
||||||
index = 9;
|
index = 9;
|
||||||
} else {
|
} else if (index != 10) {
|
||||||
index--;
|
index--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user