mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Show correct window number for incoming in console
This commit is contained in:
parent
9ef7e2d233
commit
c08e85193c
@ -140,7 +140,8 @@ void
|
|||||||
cons_show_incoming_message(const char * const short_from, const int win_index)
|
cons_show_incoming_message(const char * const short_from, const int win_index)
|
||||||
{
|
{
|
||||||
ProfWin *console = wins_get_console();
|
ProfWin *console = wins_get_console();
|
||||||
int ui_index = win_index + 1;
|
|
||||||
|
int ui_index = win_index;
|
||||||
if (ui_index == 10) {
|
if (ui_index == 10) {
|
||||||
ui_index = 0;
|
ui_index = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user