1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-13 02:15:59 +00:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1790 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-08-30 21:39:31 +00:00
parent ed6cd2cbd1
commit 6e018b0f5a

View File

@ -266,9 +266,7 @@ void mplMainSigHandler( int s )
}
break;
case evFileLoaded:
if ( Filename ) free( 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 );
strcpy( mplShMem->Filename,gtkShMem->fs.dir ); strcat( mplShMem->Filename,"/" ); strcat( mplShMem->Filename,gtkShMem->fs.filename );
if ( mplMainAutoPlay ) mplGeneralTimer=1;
break;
case evMessageBox: