mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Use 0 not 10 on window close message
This commit is contained in:
parent
e21c2276dc
commit
2f149e0bc6
@ -2572,7 +2572,11 @@ _cmd_close(gchar **args, struct cmd_help_t help)
|
||||
|
||||
// close the window
|
||||
ui_close_win(index);
|
||||
cons_show("Closed window %d", index + 1);
|
||||
int ui_index = index + 1;
|
||||
if (ui_index == 10) {
|
||||
ui_index = 0;
|
||||
}
|
||||
cons_show("Closed window %d", ui_index);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user