Mercurial > mplayer.hg
changeset 1789:8bbfd587166b
fix load
author | pontscho |
---|---|
date | Thu, 30 Aug 2001 21:39:31 +0000 |
parents | 64f0ca9afae3 |
children | f34087fa1469 |
files | Gui/mplayer/psignal.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/mplayer/psignal.c Thu Aug 30 21:25:11 2001 +0000 +++ b/Gui/mplayer/psignal.c Thu Aug 30 21:39:31 2001 +0000 @@ -266,9 +266,7 @@ } 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: