mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 18:36:09 +00:00
fix load
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1790 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ed6cd2cbd1
commit
6e018b0f5a
@ -266,9 +266,7 @@ void mplMainSigHandler( int s )
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case evFileLoaded:
|
case evFileLoaded:
|
||||||
if ( Filename ) free( Filename );
|
strcpy( mplShMem->Filename,gtkShMem->fs.dir ); strcat( mplShMem->Filename,"/" ); strcat( mplShMem->Filename,gtkShMem->fs.filename );
|
||||||
Filename=(char *)malloc( strlen( gtkShMem->fs.dir ) + strlen( gtkShMem->fs.filename ) + 2 );
|
|
||||||
strcpy( Filename,gtkShMem->fs.dir ); strcat( Filename,"/" ); strcat( Filename,gtkShMem->fs.filename );
|
|
||||||
if ( mplMainAutoPlay ) mplGeneralTimer=1;
|
if ( mplMainAutoPlay ) mplGeneralTimer=1;
|
||||||
break;
|
break;
|
||||||
case evMessageBox:
|
case evMessageBox:
|
||||||
|
Loading…
Reference in New Issue
Block a user