mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 21:31:52 +00:00
small gcc warning fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13182 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ebd110a197
commit
450854c020
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user