[Mplayer-cvslog] CVS: main/Gui/mplayer play.c,1.9,1.10 mw.h,1.10,1.11
Zoltan Ponekker
pontscho at mplayer.dev.hu
Thu Aug 30 18:49:50 CEST 2001
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mplayer:/var/tmp.root/cvs-serv15525
Modified Files:
play.c mw.h
Log Message:
hm. optim
Index: play.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/play.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- play.c 30 Aug 2001 12:17:12 -0000 1.9
+++ play.c 30 Aug 2001 16:49:46 -0000 1.10
@@ -57,7 +57,7 @@
void mplPlay( void )
{
- if ( !strlen( mplShMem->Filename ) ) return;
+ if ( strlen( mplShMem->Filename ) == 0 ) return;
if ( mplShMem->Playing ) mplStop();
// ---
printf("%%%%%% PLAY \n");
Index: mw.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- mw.h 30 Aug 2001 13:34:16 -0000 1.10
+++ mw.h 30 Aug 2001 16:49:46 -0000 1.11
@@ -147,7 +147,7 @@
btnModify( evPauseSwitchToPlay,btnDisabled );
break;
case 1:
- if ( strlen( mplShMem->Filename ) )
+ if ( mplShMem->Filename[0] != 0 )
{
btnModify( evPlaySwitchToPause,btnDisabled );
btnModify( evPauseSwitchToPlay,btnReleased );
More information about the MPlayer-cvslog
mailing list