Simplify condition, since both time and time_last are unsigned.

Patch by Rich Felker.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18486 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rathann 2006-05-13 18:34:02 +00:00
parent 7beaed2627
commit 97bd024609
1 changed files with 1 additions and 2 deletions

View File

@ -1597,8 +1597,7 @@ void xscreensaver_heartbeat(void)
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;