aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/st.c b/st.c
index bf5b675..c7589f4 100644
--- a/st.c
+++ b/st.c
@@ -4003,8 +4003,7 @@ run(void) {
4003 dodraw = 1; 4003 dodraw = 1;
4004 } 4004 }
4005 deltatime = TIMEDIFF(now, last); 4005 deltatime = TIMEDIFF(now, last);
4006 if(deltatime > (xev? (1000/xfps) : (1000/actionfps)) 4006 if(deltatime > 1000 / (xev ? xfps : actionfps)) {
4007 || deltatime < 0) {
4008 dodraw = 1; 4007 dodraw = 1;
4009 last = now; 4008 last = now;
4010 } 4009 }