mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 05:16:21 +00:00
Show correct window number for incoming in console
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user