[Mplayer-cvslog] CVS: main/Gui/mplayer common.c,1.8,1.9

Dominik Mierzejewski CVS syncmail at mplayerhq.hu
Sat Aug 28 22:20:42 CEST 2004


CVS change done by Dominik Mierzejewski CVS

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

Modified Files:
	common.c 
Log Message:
small gcc warning fix


Index: common.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/common.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- common.c	26 Jun 2004 13:54:20 -0000	1.8
+++ common.c	28 Aug 2004 20:20:40 -0000	1.9
@@ -47,7 +47,7 @@
    case STREAMTYPE_FILE:
           if ( ( guiIntfStruct.Filename )&&( guiIntfStruct.Filename[0] ) )
            {
-            if ( p = strrchr(guiIntfStruct.Filename, '/') )
+            if ( (p = strrchr(guiIntfStruct.Filename, '/')) )
               strlcpy(tmp, p + 1, tmplen);
             else
               strlcpy(tmp, guiIntfStruct.Filename, tmplen);




More information about the MPlayer-cvslog mailing list