mirror of
https://github.com/Tha14/toxic.git
synced 2024-07-01 16:57:45 +02:00
fix
This commit is contained in:
parent
6e0ac744cb
commit
84422b5845
|
@ -64,7 +64,7 @@ static void close_groupchatwin(Tox *m, int groupnum)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = group_chat_index; i > 0; --i) {
|
for (i = group_chat_index; i > 0; --i) {
|
||||||
if (groupchats[i-1].chatwin != -1)
|
if (groupchats[i-1].active)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user