# HG changeset patch # User rathann # Date 1093724440 0 # Node ID 12176045ccf993096dd269b86679be4bd82ffd7f # Parent b55551b5898bd866d0af85312468a3f79ba33fc5 small gcc warning fix diff -r b55551b5898b -r 12176045ccf9 Gui/mplayer/common.c --- a/Gui/mplayer/common.c Sat Aug 28 20:00:46 2004 +0000 +++ b/Gui/mplayer/common.c Sat Aug 28 20:20:40 2004 +0000 @@ -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);