summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authorrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-28 20:20:40 +0000
committerrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-28 20:20:40 +0000
commit450854c020de0450394c72b4ab2f3bc23834bf78 (patch)
tree2aaaa75904c69be345343694f2061c791e61edd9 /Gui
parentebd110a1971d358304dbe2f208451183b1d5147e (diff)
downloadmpv-450854c020de0450394c72b4ab2f3bc23834bf78.tar.bz2
mpv-450854c020de0450394c72b4ab2f3bc23834bf78.tar.xz
small gcc warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13182 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/mplayer/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/mplayer/common.c b/Gui/mplayer/common.c
index a6bd03a3c9..12ff1b8b47 100644
--- a/Gui/mplayer/common.c
+++ b/Gui/mplayer/common.c
@@ -47,7 +47,7 @@ inline void TranslateFilename( int c,char * tmp,size_t tmplen )
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);