[Mplayer-cvslog] CVS: main fifo.c,1.5,1.6

Ivan Kalvachev CVS syncmail at mplayerhq.hu
Wed Nov 3 15:57:36 CET 2004


CVS change done by Ivan Kalvachev CVS

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

Modified Files:
	fifo.c 
Log Message:
Fix stuck button mouse bug. Special thanks to Marius Gedminas for locating it.


Index: fifo.c
===================================================================
RCS file: /cvsroot/mplayer/main/fifo.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fifo.c	20 Oct 2004 01:32:56 -0000	1.5
+++ fifo.c	3 Nov 2004 14:57:33 -0000	1.6
@@ -23,7 +23,7 @@
            tv.tv_usec = 0;
 
            //retval = select(keyb_fifo_put+1, &rfds, NULL, NULL, &tv);
-           if(select(keyb_fifo_put+1, NULL, &rfds, NULL, &tv)>0){
+           if(select(keyb_fifo_put+1, NULL, &rfds, NULL, &tv)>=0){
              write(keyb_fifo_put,&code,4);
 //             printf("*** key event %d sent ***\n",code);
            } else {




More information about the MPlayer-cvslog mailing list