1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-30 22:16:44 +02:00

Fix a couple data races

This commit is contained in:
jfreegman
2021-11-26 08:51:38 -05:00
parent 1cba726bb8
commit 090fcfffe3
3 changed files with 36 additions and 12 deletions

View File

@ -806,12 +806,14 @@ void draw_active_window(Tox *m)
a->onDraw(a, m);
wrefresh(a->window);
}
#ifdef AUDIO
else if (a->is_call && timed_out(a->chatwin->infobox.lastupdate, 1)) {
touchwin(a->window);
a->onDraw(a, m);
wrefresh(a->window);
}
#endif // AUDIO
#ifdef GAMES