mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-22 18:13:25 +01:00
Fix another group peerlist scrolling bug
This commit is contained in:
parent
0edad7b862
commit
22eb6797b1
@ -1677,7 +1677,7 @@ static void groupchat_onDraw(ToxWindow *self, Tox *m)
|
||||
const uint32_t start = chat->side_pos;
|
||||
pthread_mutex_unlock(&Winthread.lock);
|
||||
|
||||
for (uint32_t i = start; i < max_idx && i < maxlines; ++i) {
|
||||
for (uint32_t i = start; i < max_idx && offset < maxlines; ++i) {
|
||||
pthread_mutex_lock(&Winthread.lock);
|
||||
|
||||
if (!chat->peer_list[i].active) {
|
||||
|
Loading…
Reference in New Issue
Block a user