diff --git a/src/core.c b/src/core.c index 5901fea..c6d0c5e 100644 --- a/src/core.c +++ b/src/core.c @@ -312,7 +312,7 @@ void MwLoop(MwWidget handle) { MwDispatchUserHandler(handle->tick_list[i], MwNtickHandler, NULL); } - more = over % wait; + more = over % (wait / 2); t = (tick + wait - more) - (t2 = MwLLGetTick()); if(t > 0) { MwLLSleep(t); @@ -321,7 +321,6 @@ void MwLoop(MwWidget handle) { } else { tick = t2; over += -t; - printf("%d\n", over); } } }