changeset 18485:b8ec2d53a206

Simplify condition, since both time and time_last are unsigned. Patch by Rich Felker.
author rathann
date Sat, 13 May 2006 18:34:02 +0000
parents 28fd6f89e1b8
children 928087596d71
files libvo/x11_common.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Sat May 13 18:20:41 2006 +0000
+++ b/libvo/x11_common.c	Sat May 13 18:34:02 2006 +0000
@@ -1597,8 +1597,7 @@
     unsigned int time = GetTimerMS();
     XEvent ev;
 
-    if (mDisplay && xs_windowid &&
-        ((time - time_last) > 30000 || (time - time_last) < 0))
+    if (mDisplay && xs_windowid && (time - time_last) > 30000)
     {
         time_last = time;