diff options
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4003,8 +4003,7 @@ run(void) { dodraw = 1; } deltatime = TIMEDIFF(now, last); - if(deltatime > (xev? (1000/xfps) : (1000/actionfps)) - || deltatime < 0) { + if(deltatime > 1000 / (xev ? xfps : actionfps)) { dodraw = 1; last = now; } |