mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 10:33:01 +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;
|
const uint32_t start = chat->side_pos;
|
||||||
pthread_mutex_unlock(&Winthread.lock);
|
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);
|
pthread_mutex_lock(&Winthread.lock);
|
||||||
|
|
||||||
if (!chat->peer_list[i].active) {
|
if (!chat->peer_list[i].active) {
|
||||||
|
Loading…
Reference in New Issue
Block a user