[MPlayer-cvslog] CVS: main/libvo x11_common.c,1.210,1.211

Dominik Mierzejewski CVS syncmail at mplayerhq.hu
Sat May 13 20:34:05 CEST 2006


CVS change done by Dominik Mierzejewski CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv7934

Modified Files:
	x11_common.c 
Log Message:
Simplify condition, since both time and time_last are unsigned.
Patch by Rich Felker.


Index: x11_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/x11_common.c,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -r1.210 -r1.211
--- x11_common.c	25 Apr 2006 21:36:02 -0000	1.210
+++ x11_common.c	13 May 2006 18:34:02 -0000	1.211
@@ -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;
 




More information about the MPlayer-cvslog mailing list