[Mplayer-cvslog] CVS: main/Gui/mplayer psignal.c,1.4,1.5
Zoltan Ponekker
pontscho at mplayer.dev.hu
Thu Aug 30 23:39:33 CEST 2001
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mplayer:/var/tmp.root/cvs-serv8551
Modified Files:
psignal.c
Log Message:
fix load
Index: psignal.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/psignal.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- psignal.c 29 Aug 2001 13:44:12 -0000 1.4
+++ psignal.c 30 Aug 2001 21:39:31 -0000 1.5
@@ -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:
More information about the MPlayer-cvslog
mailing list