Fix condition for event loop
This commit is contained in:
parent
e0f82ae1db
commit
f1778e3f70
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -116,7 +116,7 @@ int main()
|
|||
|
||||
// Event loop
|
||||
|
||||
while (true) {
|
||||
while (tox_iteration_interval(tox)) {
|
||||
tox_iterate(tox);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue