# HG changeset patch # User rathann # Date 1147545242 0 # Node ID b8ec2d53a206d4e353d911de97c0fe6a9bca42bd # Parent 28fd6f89e1b85d92a421aa4722f209794aeab433 Simplify condition, since both time and time_last are unsigned. Patch by Rich Felker. diff -r 28fd6f89e1b8 -r b8ec2d53a206 libvo/x11_common.c --- 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;